Skip to content

Commit

Permalink
Merge pull request #4 from lana/update_go
Browse files Browse the repository at this point in the history
Update go version to go1.17. #minor
  • Loading branch information
i02sopop authored Jan 26, 2022
2 parents 7cee1d2 + 154d460 commit 0c94b4c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.14
- name: Set up Go 1.17
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.17
id: go

- name: Check out code into the Go module directory
Expand All @@ -21,7 +21,7 @@ jobs:
run: git config --global url."https://lana-dev:${TOKEN}@github.com".insteadOf "https://github.com"

- name: Install Linter
run: wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.24.0
run: wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.44.0

- name: Install dependencies
env:
Expand Down
2 changes: 1 addition & 1 deletion .golangci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ format = "colored-line-number"
[linters]
enable = [
"gocyclo", "unconvert", "goimports", "unused", "varcheck",
"vetshadow", "misspell", "nakedret", "errcheck", "golint", "ineffassign",
"vetshadow", "misspell", "nakedret", "errcheck", "revive", "ineffassign",
"deadcode", "goconst", "vet", "unparam", "gofmt"
]

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/lana/go-dispatcher

go 1.14
go 1.17

0 comments on commit 0c94b4c

Please sign in to comment.