Closed meyermarcel closed 1 week ago
Hey @breml , I love this great library and I saw that some GitHub actions could be updated. Sorry for changing so much. If you want the PR to be a smaller scope I can shrink the scope of the PR, please let me know :)
Suggestions:
v1.62.0
v1.62
would use also fixes to golanci-lint.stable
-> 1.23
) diverges from go.mod (1.22.0
).
1.22
instead of 1.22.0
would not pin to a specific patch versiongo-version-file: "go.mod"
(see actions/setup-go docs) to use the Go version defined in go.mod.Hey @breml , I love this great library and I saw that some GitHub actions could be updated. Sorry for changing so much. If you want the PR to be a smaller scope I can shrink the scope of the PR, please let me know :)
PR size is fine for me.
Suggestions:
- Instead of
v1.62.0
v1.62
would use also fixes to golanci-lint.
I am fine with v1.62
instead of v1.62.0
.
- Go version in ci.yml (
stable
->1.23
) diverges from go.mod (1.22.0
).
This is not a problem. This can stay as is.
- Maybe using
1.22
instead of1.22.0
would not pin to a specific patch version
Agree, you may change this to 1.22
.
- We could use
go-version-file: "go.mod"
(see actions/setup-go docs) to use the Go version defined in go.mod.
I prefer to keep it explicit to stable
and oldstable
.
- Maybe using
1.22
instead of1.22.0
would not pin to a specific patch versionAgree, you may change this to
1.22
.
Maybe I do not know how this works. If I change to 1.22
the toolchain definition becomes my local toolchain -> toolchain go1.23.3
. So maybe it is better to leave it as it is. I changed only the golangci-lint version.
go mod tidy -diff