Skip to content

Commit

Permalink
build: take advantage of new caching feature for Go
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Aug 22, 2023
1 parent 77ae94f commit 2350469
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
go: ["1.20.x", "1.21.x"]

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

- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
Expand All @@ -30,9 +33,6 @@ jobs:
python-version: "3.11.X"
architecture: "x64"

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

- name: Get dependencies
run: |
go mod download
Expand Down

0 comments on commit 2350469

Please sign in to comment.