Skip to content

Commit

Permalink
Merge pull request #24 from twpayne/update-infrastructure
Browse files Browse the repository at this point in the history
chore: update project infrastructure
  • Loading branch information
twpayne authored Sep 19, 2024
2 parents fe68026 + cb9bfc2 commit a9f82cf
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- oldstable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: ${{ matrix.go-version }}
- name: build
Expand All @@ -29,7 +29,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86
with:
version: v1.56.2
version: v1.61.0
27 changes: 22 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,28 @@ linters:
- asciicheck
- bidichk
- bodyclose
- canonicalheader
- containedctx
- contextcheck
- copyloopvar
- decorder
- dogsled
- dupl
- dupword
- durationcheck
- err113
- errcheck
- errchkjson
- errname
- errorlint
- execinquery
- exhaustive
- exportloopref
- fatcontext
- forcetypeassert
- gci
- ginkgolinter
- gocheckcompilerdirectives
- gochecknoinits
- gochecksumtype
- gocritic
- godot
- gofmt
Expand All @@ -34,14 +37,18 @@ linters:
- goprintffuncname
- gosec
- gosimple
- gosmopolitan
- govet
- grouper
- importas
- inamedparam
- ineffassign
- interfacebloat
- intrange
- ireturn
- loggercheck
- makezero
- mirror
- misspell
- musttag
- nakedret
Expand All @@ -51,25 +58,34 @@ linters:
- nolintlint
- nonamedreturns
- nosprintfhostport
- perfsprint
- prealloc
- predeclared
- promlinter
- protogetter
- reassign
- revive
- rowserrcheck
- sloglint
- spancheck
- sqlclosecheck
- staticcheck
- stylecheck
- tagalign
- tagliatelle
- tenv
- testableexamples
- testifylint
- thelper
- tparallel
- typecheck
- unconvert
- unparam
- unused
- usestdlibvars
- wastedassign
- whitespace
- zerologlint
disable:
- cyclop
- depguard
Expand All @@ -81,11 +97,9 @@ linters:
- goconst
- gocyclo
- godox
- goerr113
- gomnd
- lll
- maintidx
- maligned
- mnd
- nestif
- nlreturn
- paralleltest
Expand All @@ -112,3 +126,6 @@ issues:
- dupl
- scopelint
path: "_test\\.go"
- linters:
- err113
text: do not define dynamic errors, use wrapped static errors instead
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/twpayne/go-jsonstruct/v3

go 1.21
go 1.22

require (
github.com/alecthomas/assert/v2 v2.6.0
Expand Down

0 comments on commit a9f82cf

Please sign in to comment.