smtp2shoutrrr/.forgejo/workflows/ci.yml
Felipe M. 110c7476e4
Some checks failed
CI / test (push) Waiting to run
Release / release (push) Waiting to run
ci/woodpecker/push/ci Pipeline failed
ci: makefile commands to test, lint and format
2025-02-21 09:59:59 +01:00

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