force workflow to use offline mode

This commit is contained in:
Shehab Ali Tweel
2025-04-18 10:42:38 +02:00
parent b60302f67b
commit e26a468098

View File

@@ -35,9 +35,13 @@ jobs:
- name: Build
run: cargo build
env:
SQLX_OFFLINE: "true"
- name: Run tests
run: cargo test
env:
SQLX_OFFLINE: "true"
lint:
runs-on: ubuntu-latest
@@ -57,6 +61,8 @@ jobs:
- name: Check clippy for new warnings
run: cargo clippy
env:
SQLX_OFFLINE: "true"
schema-check: