Skip to content

Commit

Permalink
Test CI cache problem
Browse files Browse the repository at this point in the history
Check if we have only one matrix combination, if the cache problem remains.
  • Loading branch information
Tomas Prochazka committed Oct 1, 2023
1 parent 47251be commit ed2be18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# version must be string, otherwise it will be converted to float
# and the trailing zero will be removed. 1.20 -> 1.2
go-version: [ "1.21" ]
postgres-version: [ 16, 15, 14, 13, 12, 11 ]
postgres-version: [ 16 ]
# Ensure that all combinations of Go and Postgres versions will run
continue-on-error: true

Expand Down Expand Up @@ -72,9 +72,9 @@ jobs:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}}-${{ matrix.go-version }}-${{ matrix.postgres-version }}-go-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}}-go-${{ matrix.go-version }}-postgres-${{ matrix.postgres-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
${{ runner.os }}-go-${{ matrix.go-version }}-
# Runs Go tests
- name: test
Expand Down

0 comments on commit ed2be18

Please sign in to comment.