update ci (#147)
All checks were successful
coverage / build (push) Successful in 3m56s
test / test (push) Successful in 8m17s

This commit is contained in:
2025-05-01 21:09:05 +05:00
committed by GitHub
parent c1d63be257
commit 76e04dbdbb
10 changed files with 76 additions and 28 deletions

29
.github/workflows/job_lint.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: lint
on:
pull_request:
types: [opened, reopened, synchronize]
branches: [ master, v3, v4 ]
paths-ignore:
- '.github/**'
- '.gitea/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
with:
filter: 'blob:none'
- name: setup go
uses: actions/setup-go@v5
with:
cache-dependency-path: "**/*.sum"
go-version: 'stable'
- name: setup deps
run: go get -v ./...
- name: run lint
uses: golangci/golangci-lint-action@v6
with:
version: 'latest'