pull-request-lint/.gitea/workflows/CI.yml
Jan Klattenhoff 653e80ee73
All checks were successful
Lint Pull Request / Lint PR Title (pull_request) Has been skipped
Go CI / test (pull_request) Successful in 8s
Go CI / lint (pull_request) Successful in 10s
ci: add test job to CI configuration (#12)
Reviewed-on: #12
Co-authored-by: Jan Klattenhoff <jan@kjan.email>
Co-committed-by: Jan Klattenhoff <jan@kjan.email>
2025-04-09 17:46:26 +00:00

29 lines
550 B
YAML

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
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.24.2
- name: Test
run: go test ./...