Skip to content

Commit

Permalink
chore: update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
mythrnr committed Nov 28, 2024
1 parent 1b4c061 commit fdc7c4f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -59,6 +59,7 @@ jobs:
- "1.20"
- "1.21"
- "1.22"
- "1.23"
steps:
- uses: "actions/checkout@v4"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan-vulnerabilities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# see: https://golangci-lint.run/usage/configuration/
run:
go: "1.22"
go: "1.23"

output:
sort-results: true
Expand Down Expand Up @@ -39,8 +39,7 @@ linters:
- "depguard"
- "varnamelen"
# ---- deprecated ---- #
- "execinquery"
- "gomnd"
- "exportloopref"
# -------------------- #
enable-all: true
fast: false
Expand Down
1 change: 1 addition & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"depguard",
"dupl",
"execinquery",
"exportloopref",
"funlen",
"gocognit",
"gocyclo",
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fdc7c4f

Please sign in to comment.