forked from rook/rook
ci: add a checkmake workflow
lint the Makefile in the CI This is to prevent PRs from introducing errors in the Makefile Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
name: CheckMake
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- release-*
|
||||
|
||||
# cancel the in-progress workflow when PR is refreshed.
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
checkmake:
|
||||
name: CheckMake
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- name: Run CheckMake
|
||||
uses: Uno-Takashi/checkmake-action@v2
|
||||
with:
|
||||
Makefile: Makefile
|
||||
debug: true
|
||||
Reference in New Issue
Block a user