mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
Upgrade to Go 1.22 toolchain (#1987)
Upgrades to the Go 1.22 toolchain. Upgrades golangci-lint to 1.61.0 and disables some new linters. --------- Co-authored-by: Nicholas Wiersma <nick@wiersma.co.za>
This commit is contained in:
@@ -11,7 +11,7 @@ jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GOLANGCI_LINT_VERSION: v1.51.2
|
||||
GOLANGCI_LINT_VERSION: v1.61.0
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -24,8 +24,6 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: ${{ env.GOLANGCI_LINT_VERSION }}
|
||||
skip-pkg-cache: true
|
||||
skip-build-cache: true
|
||||
|
||||
build:
|
||||
env:
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
- name: setup-go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.20"
|
||||
go-version-file: 'go.mod'
|
||||
- name: capture current date
|
||||
id: date
|
||||
run: echo "::set-output name=date::$(date -u '+%Y-%m-%d-%H:%M:%S-%Z')"
|
||||
|
||||
Reference in New Issue
Block a user