Skip to content

Commit

Permalink
chore: update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenhilton committed May 17, 2024
1 parent e3205f8 commit 6b3d5ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
- run: go test ./...
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
- uses: golangci/golangci-lint-action@9d1e0624a798bb64f6c3cea93db47765312263dc
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
- uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64
with:
version: v1.55.2
version: v1.58.1
- uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8
with:
globs: '**/*.md'
Expand Down
11 changes: 5 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ linters:
- dupl
- dupword
- durationcheck
- err113
- errcheck
- errchkjson
- errname
- errorlint
- execinquery
- exhaustive
- exportloopref
- forbidigo
Expand All @@ -30,7 +30,6 @@ linters:
- gocritic
- gocyclo
- godot
- goerr113
- gofmt
- gofumpt
- goheader
Expand Down Expand Up @@ -130,14 +129,14 @@ issues:
- linters:
- dupl
- scopelint
path: "_test\\.go"
path: _test\.go
- linters:
- forbidigo
- gosec
path: "internal/"
path: internal/
- linters:
- goerr113
- err113
text: do not define dynamic errors, use wrapped static errors instead
- linters:
- gochecknoinits
path: "docs/docs.go"
path: docs\.go

0 comments on commit 6b3d5ed

Please sign in to comment.