-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (44 loc) · 997 Bytes
/
ci.yml
File metadata and controls
52 lines (44 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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