Skip to content

Commit

Permalink
update mise version and add bash shebang to tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyhede committed Jan 9, 2025
1 parent 6a1b355 commit 5aae858
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-eql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- uses: jdx/mise-action@v2
with:
version: 2024.12.11 # [default: latest] mise version to install
version: 2025.1.0 # [default: latest] mise version to install
install: true # [default: true] run `mise install`
cache: true # [default: true] cache mise using GitHub's cache

Expand All @@ -52,5 +52,7 @@ jobs:

- name: Test EQL
run: |
mise run test
mise run --output test
4 changes: 4 additions & 0 deletions tasks/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
#MISE description="Build SQL into single release file"

#!/bin/bash


set -euxo pipefail

mkdir -p release
Expand Down
6 changes: 3 additions & 3 deletions tasks/reset.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
#MISE description="Clean install of EQL"
set -euxo pipefail

# PGPASSWORD=$CS_DATABASE__PASSWORD dropdb --force --if-exists --username ${CS_DATABASE__USERNAME:-$USER} --port $CS_DATABASE__PORT $CS_DATABASE__NAME
# PGPASSWORD=$CS_DATABASE__PASSWORD createdb --username ${CS_DATABASE__USERNAME:-$USER} --port $CS_DATABASE__PORT $CS_DATABASE__NAME
#!/bin/bash

set -euxo pipefail

connection_url=postgresql://${CS_DATABASE__USERNAME:-$USER}:@localhost:$CS_DATABASE__PORT/$CS_DATABASE__NAME

Expand Down
3 changes: 3 additions & 0 deletions tasks/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
#MISE description="Build, reset and run test"

#!/bin/bash

set -euxo pipefail

mise run build
Expand Down

0 comments on commit 5aae858

Please sign in to comment.