Skip to content

Commit

Permalink
Disable CI dep cache for test
Browse files Browse the repository at this point in the history
It generates errors when used with Matrix strategy used for testing of various Postgres versions.
  • Loading branch information
Tomas Prochazka committed Oct 1, 2023
1 parent 193d3e2 commit f4b1a1f
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,17 @@ jobs:
with:
go-version: ${{ matrix.go-version }}

# Cache Go build cache and modcache
- name: cache deps
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}}-go-${{ matrix.go-version }}-postgres-${{ matrix.postgres-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ matrix.go-version }}-
# Disabled because of incompatibility with Matrix Strategy
# # Cache Go build cache and modcache
# - name: cache deps
# uses: actions/cache@v3
# with:
# path: |
# ~/.cache/go-build
# ~/go/pkg/mod
# key: ${{ runner.os }}}-go-${{ matrix.go-version }}-postgres-${{ matrix.postgres-version }}-${{ hashFiles('**/go.sum') }}
# restore-keys: |
# ${{ runner.os }}-go-${{ matrix.go-version }}-

# Runs Go tests
- name: test
Expand Down

0 comments on commit f4b1a1f

Please sign in to comment.