Skip to content

Commit ed0c80e

Browse files
committed
Checkout code and setup-go before linting
1 parent b7693d3 commit ed0c80e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/go.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,12 @@ jobs:
2424
lint:
2525
runs-on: ubuntu-latest
2626
steps:
27+
- uses: actions/checkout@v4
28+
29+
- name: Set up Go
30+
uses: actions/setup-go@v4
31+
with:
32+
go-version: "1.21"
33+
2734
- name: "Run golangci-lint"
2835
uses: golangci/golangci-lint-action@v3

0 commit comments

Comments
 (0)