Skip to content

CI

CI #18

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CGO_ENABLED: 1
GO_VERSION: "1.26.2"
permissions:
contents: read
pull-requests: read
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: ./.github/actions/setup-go
with:
go-version: ${{ env.GO_VERSION }}
- name: Run verification pipeline
run: make verify
env:
CGO_ENABLED: ${{ env.CGO_ENABLED }}
- name: Upload verification artifacts on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: verify-artifacts
path: |
coverage.out
coverage.html
bin
if-no-files-found: ignore
retention-days: 7