ci: add Go CI workflow configuration file
Some checks failed
Lint Pull Request / Lint PR Title (pull_request) Successful in 27s
Go CI / lint (pull_request) Failing after 35s

This commit is contained in:
Jan K9f 2025-04-09 19:28:15 +02:00
parent 667ccdd9a1
commit 1b86948c60
Signed by: jank
GPG key ID: B9F475106B20F144

18
.gitea/workflows/CI.yml Normal file
View 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