diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index c8e011cb1..f0abb570c 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -175,6 +175,14 @@ jobs: restore-keys: | cargo-build-${{ runner.os }}- + - name: Cache sqlx binary + uses: actions/cache@v4 + with: + path: ~/.cargo/bin/sqlx + key: sqlx-${{ runner.os }}-${{ hashFiles('./api/Cargo.lock') }} + restore-keys: | + sqlx-${{ runner.os }}- + - name: Install Rust dependencies env: DATABASE_URL: "postgres://www-data:www-data@localhost:15432/swissgeol-local"