Some checks failed
CI / test (push) Waiting to run
Release / release (push) Waiting to run
ci/woodpecker/push/ci Pipeline failed
31 lines
536 B
YAML
31 lines
536 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.24"
|
|
|
|
- name: Format
|
|
run: |
|
|
make format
|
|
git diff --exit-code
|
|
|
|
- name: Lint
|
|
uses: golangci/golangci-lint-action@v4
|
|
with:
|
|
version: v1.56
|
|
args: --timeout=5m
|
|
|
|
- name: Test
|
|
run: make test
|