-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 841 Bytes
/
Copy pathcommit-all.yaml
File metadata and controls
36 lines (31 loc) · 841 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
name: "On commit"
on: push
permissions: read-all
jobs:
binary:
name: Binary
strategy:
fail-fast: true
matrix:
goos:
- linux
goarch:
- amd64
- arm64
uses: PossibleLlama/workflows/.github/workflows/golang-binary.yaml@v0.2.21
with:
source-path: "./exec/cli/main.go"
build-flags: "-ldflags=\"-w -s -X 'main.VERSION=$(git rev-list -1 HEAD)'\""
os: ${{ matrix.goos }}
arch: ${{ matrix.goarch }}
linting:
name: Linting
uses: PossibleLlama/workflows/.github/workflows/golang-linting.yaml@v0.2.21
with:
source-path: "./exec/cli/main.go"
test-small:
name: Test small
uses: PossibleLlama/workflows/.github/workflows/golang-testing-small.yaml@v0.2.21
with:
enable-performance: false
enable-fuzz: false