Skip to content

Commit

Permalink
CI: Fix go version 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeihs committed Apr 14, 2022
1 parent 1326060 commit bfeb73d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
release:

env:
go-version: 1.17

jobs:
lint:
name: Lint
Expand All @@ -14,8 +17,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ env.go-version }}

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.43

Expand All @@ -26,7 +34,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ^1.17
go-version: ${{ env.go-version }}

- name: Checkout
uses: actions/checkout@v2
Expand All @@ -51,7 +59,7 @@ jobs:
- name: Set up Golang
uses: actions/setup-go@v2
with:
go-version: ^1.17
go-version: ${{ env.go-version }}

- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit bfeb73d

Please sign in to comment.