Skip to content

Commit

Permalink
chore: reorder workflows for dependencies caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Meroje authored Dec 13, 2023
1 parent bfab2a7 commit c1d3d3e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: '>=1.18.0'

- name: Check out code into the Go module directory
uses: actions/checkout@v3
go-version: stable

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand All @@ -36,16 +36,16 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: '>=1.18.0'

- name: Check out code into the Go module directory
uses: actions/checkout@v3
go-version: stable

- name: Install
run: go install
run: go mod download -x

- name: Test
run: go test -v ./...
Expand Down

0 comments on commit c1d3d3e

Please sign in to comment.