From c27543ffaa6b4c6c0176056af53ae4bb9e64013f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 6 Feb 2026 16:47:35 +0100 Subject: [PATCH 1/2] ci: add a shellcheck workflow This initializes the CI for this repo Signed-off-by: Michael Adam --- .github/workflows/shellcheck.yaml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/shellcheck.yaml diff --git a/.github/workflows/shellcheck.yaml b/.github/workflows/shellcheck.yaml new file mode 100644 index 0000000..5edfbf0 --- /dev/null +++ b/.github/workflows/shellcheck.yaml @@ -0,0 +1,33 @@ +name: ShellCheck +on: + push: + tags: + - v* + branches: + - main + - release-* + pull_request: + branches: + - main + - 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: + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: install shellcheck + run: | + sudo apt-get update + sudo apt-get install -y shellcheck + - name: Run ShellCheck + run: make shellcheck From 16950aa9a6e24dfba282780e3c32f77742f29203 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 6 Feb 2026 16:56:28 +0100 Subject: [PATCH 2/2] ci: add a checkmake workflow Signed-off-by: Michael Adam --- .github/workflows/checkmake.yaml | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/checkmake.yaml diff --git a/.github/workflows/checkmake.yaml b/.github/workflows/checkmake.yaml new file mode 100644 index 0000000..11db7f7 --- /dev/null +++ b/.github/workflows/checkmake.yaml @@ -0,0 +1,35 @@ +name: CheckMake +on: + push: + tags: + - v* + branches: + - main + - release-* + pull_request: + branches: + - main + - 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 + # checkmake uses go run, so this needs go installed + - name: Set up Go + uses: actions/setup-go@v6 + with: + go-version: 'stable' + id: go + - name: Run CheckMake + run: make checkmake