Skip to content

Commit 32bb5fa

Browse files
committed
ci: add a checkmake workflow
Signed-off-by: Michael Adam <obnox@samba.org>
1 parent 92ee337 commit 32bb5fa

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/checkmake.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CheckMake
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
branches:
7+
- main
8+
- release-*
9+
pull_request:
10+
branches:
11+
- main
12+
- release-*
13+
14+
# cancel the in-progress workflow when PR is refreshed.
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
17+
cancel-in-progress: true
18+
19+
permissions:
20+
contents: read
21+
22+
jobs:
23+
checkmake:
24+
name: CheckMake
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+
# checkmake uses go run, so this needs go installed
29+
- name: Set up Go
30+
uses: actions/setup-go@v6
31+
with:
32+
go-version: 'stable'
33+
id: go
34+
- name: Run CheckMake
35+
run: make checkmake

0 commit comments

Comments
 (0)