Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.24.x
go-version: 1.25.x
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v3
- uses: golangci/golangci-lint-action@v8
with:
version: v1.64.4
version: v2.4.0
test_windows:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.repository != github.event.pull_request.head.repo.full_name)
runs-on: windows-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.24.x
go-version: 1.25.x
- uses: actions/checkout@v4
- run: go build ./cmd/goverter
- run: go test ./...
Expand All @@ -32,7 +32,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.24.x
go-version: 1.25.x
- uses: actions/checkout@v4
- run: go build ./cmd/goverter
- run: go test -coverpkg ./... -coverprofile=coverage.txt -covermode=atomic ./...
Expand All @@ -49,7 +49,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.24.x
go-version: 1.25.x
- uses: actions/checkout@v4
- run: |
go get -u golang.org/x/tools
Expand All @@ -75,7 +75,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.24.x
go-version: 1.25.x
- uses: actions/checkout@v4
- run: mkdir covdata
- run: GOCOVERDIR="$PWD/covdata" go generate ./...
Expand Down
104 changes: 59 additions & 45 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,61 @@
issues:
exclude-dirs:
- example

version: "2"
linters:
enable:
- asciicheck
- gci
- godot
- gofmt
- gofumpt
- goimports
- gomodguard
- goprintffuncname
- gosimple
- govet
- misspell
- nakedret
- nolintlint
- sqlclosecheck
- typecheck
- unconvert
- unused
- whitespace
disable:
- errcheck
- revive
- funlen
- gochecknoglobals
- staticcheck
- gocognit
- goconst
- gocyclo
- godox
- lll
- nestif
- nlreturn
- noctx
- testpackage
- wsl
- ineffassign

linters-settings:
gofumpt:
extra-rules: true
enable:
- asciicheck
- godot
- gomodguard
- goprintffuncname
- misspell
- nakedret
- nolintlint
- sqlclosecheck
- unconvert
- whitespace
disable:
- errcheck
- funlen
- gochecknoglobals
- gocognit
- goconst
- gocyclo
- godox
- ineffassign
- lll
- nestif
- nlreturn
- noctx
- revive
- staticcheck
- testpackage
- wsl
settings:
misspell:
locale: US
locale: US
exclusions:
generated: lax
presets:
- comments
- common-false-positives
- legacy
- std-error-handling
paths:
- example
- third_party$
- builtin$
- examples$
formatters:
enable:
- gci
- gofmt
- gofumpt
- goimports
settings:
gofumpt:
extra-rules: true
exclusions:
generated: lax
paths:
- example
- third_party$
- builtin$
- examples$
2 changes: 2 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import GH from './GH.vue';

## unreleased

- Upgrade toolchain to go1.25. <GH pr="214"/>

## v1.9.1

- Increase minimal go version to go1.23 due to breaking changes in x/tools for
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/jmattheis/goverter

go 1.23.0

toolchain go1.24.5
toolchain go1.25.0

require (
github.com/dave/jennifer v1.6.0
Expand Down
Loading