Skip to content

Commit aed0610

Browse files
committed
Set go_version in linting
1 parent e1d1556 commit aed0610

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,16 @@ jobs:
5656
lint:
5757
name: Lint
5858
runs-on: ubuntu-20.04
59+
needs: vars
5960
steps:
6061
- name: Checkout Repository
6162
uses: actions/checkout@v3
63+
- name: Setup Golang Environment
64+
uses: actions/setup-go@v3
65+
with:
66+
go-version: ${{ needs.vars.outputs.go_version }}
6267
- name: Lint Code
63-
uses: golangci/golangci-lint-action@v2
68+
uses: golangci/golangci-lint-action@v3.1.0
6469
with:
6570
args: --timeout ${{ env.GOLANGCI_TIMEOUT }}
6671

0 commit comments

Comments
 (0)