-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (58 loc) · 1.64 KB
/
Copy pathci.yaml
File metadata and controls
63 lines (58 loc) · 1.64 KB
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
53
54
55
56
57
58
59
60
61
62
63
name: CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
verify:
name: Verify (Go ${{ matrix.go-version }})
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
go-version:
# renovate: datasource=custom.go-supported-floor depName=go-floor versioning=semver-coerced
- '1.25.x'
# renovate: datasource=custom.go-supported-latest depName=go-latest versioning=semver-coerced
- '1.26.x'
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: Run full verification suite
run: make verify
race:
name: Race (Go ${{ matrix.go-version }})
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
go-version:
# renovate: datasource=custom.go-supported-floor depName=go-floor versioning=semver-coerced
- '1.25.x'
# renovate: datasource=custom.go-supported-latest depName=go-latest versioning=semver-coerced
- '1.26.x'
env:
CGO_ENABLED: '1'
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: Run race detector
run: make test-race