Skip to content

Commit 30a16db

Browse files
committed
fix: resolve runner paths within workflow steps
1 parent 02fc825 commit 30a16db

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,22 @@ concurrency:
1111
jobs:
1212
test:
1313
runs-on: ubuntu-latest
14-
env:
15-
GFA_SQLX_WORK_DIR: ${{ runner.temp }}/gfa-sqlx
1614
steps:
1715
- uses: actions/checkout@v4
1816
- uses: dtolnay/rust-toolchain@stable
1917
- uses: Swatinem/rust-cache@v2
2018
- name: Prepare SQLite schema for query checking
2119
run: python3 .github/scripts/sqlite-query-check.py prepare
20+
env:
21+
GFA_SQLX_WORK_DIR: ${{ runner.temp }}/gfa-sqlx
2222
- run: cargo test --workspace --all-features --locked
2323
env:
2424
DATABASE_URL: sqlite:${{ runner.temp }}/gfa-sqlx/schema.sqlite
2525
SQLX_OFFLINE_DIR: ${{ runner.temp }}/gfa-sqlx/queries
2626
- name: Verify offline query metadata
2727
run: python3 .github/scripts/sqlite-query-check.py verify
28+
env:
29+
GFA_SQLX_WORK_DIR: ${{ runner.temp }}/gfa-sqlx
2830
- run: cargo xtask check-deps
2931
- run: cargo check -p gfa-games --no-default-features --locked
3032
lint:

0 commit comments

Comments
 (0)