From 154d460a6f62bd3a3b9bada23d4676ed774ce3b3 Mon Sep 17 00:00:00 2001 From: Ritho Date: Wed, 26 Jan 2022 17:01:23 +0100 Subject: [PATCH] Update go version to go1.17. #minor Signed-off-by: Ritho --- .github/workflows/go.yaml | 6 +++--- .golangci.toml | 2 +- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 8947389..c950e57 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -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 @@ -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: diff --git a/.golangci.toml b/.golangci.toml index b1fd1f4..4a438ca 100644 --- a/.golangci.toml +++ b/.golangci.toml @@ -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" ] diff --git a/go.mod b/go.mod index a821a1f..78f1497 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/lana/go-dispatcher -go 1.14 +go 1.17