Skip to content

Commit

Permalink
Remove cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Apr 4, 2024
1 parent d9a85de commit f95bb84
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
with: { components: "rustfmt, clippy" }
- name: Setup Cache
uses: Swatinem/rust-cache@v2
with:
cache-directories: ~/.pgrx
key: "${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}"
with: { cache-directories: ~/.pgrx }
- name: Install Postgres
run: sudo ./.ci/apt-install-postgres ${{ env.PGVERSION }}
- name: Install pgrx
Expand All @@ -46,9 +44,7 @@ jobs:
run: sudo ./.ci/apt-install-postgres ${{ matrix.pg }}
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
with:
cache-directories: ~/.pgrx
key: "${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}"
with: { cache-directories: ~/.pgrx }
- run: env
- name: Install pgrx
run: cargo install cargo-pgrx --locked --version "$(perl -ne 'print $1 if /^pgrx\s+=\s"=?([^"]+)/' Cargo.toml)"
Expand Down

0 comments on commit f95bb84

Please sign in to comment.