Skip to content

Commit

Permalink
fixup! Update all non-major dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfonseca committed Dec 31, 2024
1 parent 4d76ba2 commit 9c350be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: stable
- name: Build
run: go build -v ./...

- name: Vet
run: go vet ./...

- name: Test
run: go test -v -race ./...

Expand All @@ -38,9 +35,6 @@ jobs:
steps:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.20.6
go-package: ./...

golangci:
name: Lint
Expand All @@ -49,9 +43,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.20"
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --verbose
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ linters:
- bodyclose # checks whether HTTP response body is closed successfully
- dupl # Tool for code clone detection
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
- exportloopref # checks for pointers to enclosing loop variables
- copyloopvar # checks for pointers to enclosing loop variables
- goconst # Finds repeated strings that could be replaced by a constant
- gocritic # The most opinionated Go source code linter
- gocyclo # Computes and checks the cyclomatic complexity of functions
Expand Down

0 comments on commit 9c350be

Please sign in to comment.