-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (38 loc) · 975 Bytes
/
check.yaml
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
name: Check
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
check-go-mod:
name: Check Module Tidiness
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '~1.23.0'
- run: go mod tidy -diff
check-test-corpus:
name: Check Test Corpus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '~1.23.0'
- run: sudo apt-get install -qy squashfs-tools-ng
- run: go run ./test/images/gen_images.go ./test/images
- run: git diff --exit-code --
check-release-config:
name: Check Release Config
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '~1.23.0'
- uses: goreleaser/goreleaser-action@v6
with:
args: check