Skip to content

Commit

Permalink
Dependency updates to fix broken builds (integrations#1547)
Browse files Browse the repository at this point in the history
* Switch to Go 1.20 in normal CI

* Get latest version of golangci-lint

* Remove outdated linters

* Use explicit version of client9/misspell
  • Loading branch information
kfcampbell authored Feb 13, 2023
1 parent 661cbd8 commit f35ec8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19'
go-version: '1.20'
- run: make tools
- run: make lint
- run: make website-lint
Expand Down
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ issues:
linters:
disable-all: true
enable:
- deadcode
- errcheck
- gofmt
- gosimple
- ineffassign
- misspell
- staticcheck
- structcheck
- unconvert
- unused
- varcheck
- vet

linters-settings:
Expand Down
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ PKG_NAME=github
default: build

tools:
go install github.com/client9/misspell/cmd/misspell
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.48.0
go install github.com/client9/misspell/cmd/misspell@v0.3.4
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.1

build: fmtcheck
go build ./...
Expand Down

0 comments on commit f35ec8f

Please sign in to comment.