test linter
This commit is contained in:
parent
ca7a8ee5e1
commit
012e4cb142
21
.gitea/workflows/lint.yaml
Normal file
21
.gitea/workflows/lint.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: Lint
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
name: golangci-lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: "1.21.7"
|
||||||
|
cache: false
|
||||||
|
|
||||||
|
- name: Check out code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
uses: golangci/golangci-lint-action@v3
|
||||||
|
with:
|
||||||
|
version: v1.55
|
Loading…
Reference in New Issue
Block a user