Skip to content

Commit

Permalink
ci: update to golang build verion to 1.17 and update linter (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
princjef authored Nov 15, 2021
1 parent b1824e6 commit 0713663
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.16.x
go-version: 1.17.x
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.16.x
go-version: 1.17.x
- name: Checkout code
uses: actions/checkout@v2
- name: Lint
Expand Down
5 changes: 3 additions & 2 deletions magefile.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//+build mage
//go:build mage
// +build mage

package main

Expand All @@ -9,7 +10,7 @@ import (

var linter = bintool.Must(bintool.New(
"golangci-lint{{.BinExt}}",
"1.40.1",
"1.43.0",
"https://github.com/golangci/golangci-lint/releases/download/v{{.Version}}/golangci-lint-{{.Version}}-{{.GOOS}}-{{.GOARCH}}{{.ArchiveExt}}",
))

Expand Down

0 comments on commit 0713663

Please sign in to comment.