Compare commits

...

2 Commits

Author SHA1 Message Date
Guillaume Ballet 41661a18bb
disable caching in setup-go 2024-06-04 18:02:47 +02:00
Guillaume Ballet a16fb321f2
.github/workflows: manual caching of dependencies 2024-06-04 17:30:50 +02:00
1 changed files with 16 additions and 0 deletions

View File

@ -16,6 +16,22 @@ jobs:
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.21.4 go-version: 1.21.4
cache: false
- name: Cache Go modules
id: cache-go-mod
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod download
- name: Run tests - name: Run tests
run: go test -short ./... run: go test -short ./...
env: env: