update lint and dependency
Some checks failed
Go Action / goaction (push) Failing after 27m2s
Go Action / goaction (pull_request) Failing after 26m32s

This commit is contained in:
andrey
2025-12-23 23:00:51 +03:00
parent 2df0314393
commit 6c843faf4a
15 changed files with 119 additions and 67 deletions

View File

@@ -0,0 +1,26 @@
name: Go Action
on: [push, pull_request]
jobs:
goaction:
runs-on: ubuntu-latest # Use a Gitea Actions runner label
steps:
- name: Check out repository code
uses: actions/checkout@v4 # Action to clone the repo
- name: Set up Go
uses: actions/setup-go@v5 # Action to install a specific Go version
with:
go-version: '1.25.5' # Specify your required Go version
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8 # Use the golangci-lint action
with:
version: v2.7.2 # Specify the linter version
# Optional: additional arguments
args: --verbose
- name: Run go test
run: go test ./...