Skip to content

Commit

Permalink
ci: download dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: x5a17ed <[email protected]>
  • Loading branch information
0x5a17ed committed Jan 11, 2025
1 parent f767c6f commit dd9d0c1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
key: ${{ runner.os }}-go${{ matrix.go-version }}-${{ hashFiles('**/go.mod') }}-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go${{ matrix.go-version }}-

- name: Download dependencies
run: go mod download

- run: go test ./...

# Main test suite for all Go versions and OS.
Expand Down Expand Up @@ -61,6 +64,9 @@ jobs:
key: ${{ runner.os }}-go${{ matrix.go-version }}-${{ hashFiles('**/go.mod') }}-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go${{ matrix.go-version }}-

- name: Download dependencies
run: go mod download

- name: Run tests (with race detector on Linux)
if: matrix.os != 'windows-2019'
run: go test -race ./...
Expand Down

0 comments on commit dd9d0c1

Please sign in to comment.