Add lint action
Check Go code / Lint (push) Has been cancelled
Check Go code / Build and test (push) Has been cancelled

This commit is contained in:
2026-05-24 00:05:32 +03:00
parent ec4e1e93cb
commit 9807b624ba
+19
View File
@@ -30,3 +30,22 @@ jobs:
- name: Run tests - name: Run tests
run: go test ./... run: go test ./...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.25.x'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: 'v2.4'