Skip to content

Commit

Permalink
Update GO
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Skrynnik <[email protected]>
  • Loading branch information
NikitaSkrynnik committed Jul 3, 2023
1 parent 5ed92de commit e43e152
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
sudo chmod -R 777 /bin
- uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.20.5
github-token: ${{ github.token }}
- name: setup env
run: |
Expand Down
18 changes: 6 additions & 12 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
run:
# concurrency: 6
go: "1.20"
timeout: 2m
issues-exit-code: 1
tests: true
Expand Down Expand Up @@ -41,13 +41,11 @@ linters-settings:
min-len: 2
min-occurrences: 2
depguard:
list-type: blacklist
include-go-root: false
packages:
- errors
packages-with-error-message:
# specify an error message to output when a blacklisted package is used
- errors: 'Please use "github.com/pkg/errors" instead of "errors" in go imports'
rules:
main:
deny:
- pkg: errors
desc: Please use github.com/pkg/errors instead of errors in go imports
misspell:
locale: US
unparam:
Expand Down Expand Up @@ -128,13 +126,11 @@ linters-settings:
linters:
disable-all: true
enable:
# - rowserrcheck
- goheader
- bodyclose
- deadcode
- depguard
- dogsled
# - dupl
- errcheck
- funlen
- gochecknoinits
Expand All @@ -149,7 +145,6 @@ linters:
- govet
- ineffassign
- interfacer
# - lll
- misspell
- nakedret
- scopelint
Expand All @@ -159,7 +154,6 @@ linters:
- typecheck
- unconvert
- unparam
# - unused
- varcheck
- whitespace
issues:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/networkservicemesh/integration-interdomain-k8s

go 1.18
go 1.20

require (
github.com/networkservicemesh/integration-tests v0.0.0-20230621095631-2fd1de880488
Expand Down

0 comments on commit e43e152

Please sign in to comment.