Skip to content

Commit

Permalink
chore: use correct version of go
Browse files Browse the repository at this point in the history
  • Loading branch information
estahn committed Sep 7, 2022
1 parent c0bca21 commit 6553ca8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.16.5
id: go
go-version-file: 'go.mod'
check-latest: true
cache: true

- name: Login to github registry
uses: docker/login-action@v2.0.0
Expand Down
25 changes: 12 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ jobs:
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
check-latest: true
cache: true
id: go

- name: Debug
run: go version

- name: golangci-lint
uses: golangci/golangci-lint-action@v3.2.0
Expand All @@ -50,15 +47,16 @@ jobs:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libdevmapper-dev libbtrfs-dev

- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ^1.16.5
id: go

- name: Checkout
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
check-latest: true
cache: true

- uses: actions/cache@v3.0.6
with:
path: |
Expand Down Expand Up @@ -100,11 +98,12 @@ jobs:
- name: Unshallow
run: git fetch --prune --unshallow

- name: Setup Go
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ^1.16.5
id: go
go-version-file: 'go.mod'
check-latest: true
cache: true

- uses: actions/cache@v3.0.6
with:
Expand Down

0 comments on commit 6553ca8

Please sign in to comment.