ci: add Go CI workflow configuration file
This commit is contained in:
parent
667ccdd9a1
commit
1b86948c60
1 changed files with 18 additions and 0 deletions
18
.gitea/workflows/CI.yml
Normal file
18
.gitea/workflows/CI.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: "Go CI"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
golangci:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.24.2
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v7
|
||||
with:
|
||||
version: v2.0
|
Loading…
Add table
Add a link
Reference in a new issue