diff --git a/.github/workflows/check-code.yaml b/.github/workflows/check-code.yaml index 1f6452b..bdbf16b 100644 --- a/.github/workflows/check-code.yaml +++ b/.github/workflows/check-code.yaml @@ -32,7 +32,7 @@ jobs: - uses: "actions/setup-go@v5" with: - go-version: "1.22" + go-version: "1.23" - name: "Write go.list file" run: "go list -buildvcs=false -deps -json ./... > go.list" @@ -59,6 +59,7 @@ jobs: - "1.20" - "1.21" - "1.22" + - "1.23" steps: - uses: "actions/checkout@v4" diff --git a/.github/workflows/scan-vulnerabilities.yaml b/.github/workflows/scan-vulnerabilities.yaml index 5145be6..fb0a6fb 100644 --- a/.github/workflows/scan-vulnerabilities.yaml +++ b/.github/workflows/scan-vulnerabilities.yaml @@ -18,7 +18,7 @@ jobs: - uses: "actions/setup-go@v5" with: - go-version: "1.22" + go-version: "1.23" - name: "Write go.list file" run: "go list -buildvcs=false -deps -json ./... > go.list" diff --git a/.golangci.yaml b/.golangci.yaml index e24e4ff..19395ed 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,6 +1,6 @@ # see: https://golangci-lint.run/usage/configuration/ run: - go: "1.22" + go: "1.23" output: sort-results: true @@ -39,8 +39,7 @@ linters: - "depguard" - "varnamelen" # ---- deprecated ---- # - - "execinquery" - - "gomnd" + - "exportloopref" # -------------------- # enable-all: true fast: false diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 289f45b..676f802 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -20,6 +20,7 @@ "depguard", "dupl", "execinquery", + "exportloopref", "funlen", "gocognit", "gocyclo", diff --git a/Makefile b/Makefile index 2ce1332..bb00751 100644 --- a/Makefile +++ b/Makefile @@ -31,11 +31,11 @@ nancy: .PHONY: release release: - if [ "$(tag)" = "" ]; then \ - echo "tag name is required."; \ + if [ "$(version)" = "" ]; then \ + echo "version is required."; \ exit 1; \ fi \ - && gh release create $(tag) --generate-notes --target master + && gh release create $(version) --generate-notes --target master .PHONY: spell-check spell-check: