Skip to content

Commit 126c270

Browse files
committed
Fix errors from golang-ci action
According to golangci/golangci-lint-action#23 we should just let the action take care of installing go, etc.
1 parent 8fbe79c commit 126c270

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

.github/workflows/precommit.yml

-9
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,7 @@ jobs:
1313
- name: Check out code
1414
uses: actions/checkout@v2
1515

16-
- name: Setup go
17-
uses: actions/setup-go@v2
18-
with:
19-
go-version: '^1.16'
20-
21-
- name: Download go modules
22-
run: go mod tidy
23-
2416
- name: Run linters
2517
uses: golangci/golangci-lint-action@v2
2618
with:
2719
version: v1.42
28-
skip-go-installation: true

.github/workflows/release.yml

-9
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,10 @@ jobs:
1010
- name: Check out code
1111
uses: actions/checkout@v2
1212

13-
- name: Setup go
14-
uses: actions/setup-go@v2
15-
with:
16-
go-version: '^1.16'
17-
18-
- name: Download go modules
19-
run: go mod tidy
20-
2113
- name: Run linters
2214
uses: golangci/golangci-lint-action@v2
2315
with:
2416
version: v1.42
25-
skip-go-installation: true
2617

2718
build:
2819
name: Build binary

0 commit comments

Comments
 (0)