From adddf2c73b35f657880be8776c4e482f9cfd8ceb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 Apr 2026 08:12:52 +0000 Subject: [PATCH] [github-graph]: Synced files from `git-config`. --- .github/workflows/build-integrity.yml | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build-integrity.yml diff --git a/.github/workflows/build-integrity.yml b/.github/workflows/build-integrity.yml new file mode 100644 index 0000000..475e925 --- /dev/null +++ b/.github/workflows/build-integrity.yml @@ -0,0 +1,30 @@ +name: CI + +on: + pull_request: + branches: [main] + push: + branches: [main] + workflow_dispatch: + +# Cancel in-progress runs when starting a new one. +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + + # Verify code format and build integrity for every PR. + build-integrity: + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + + - name: Checkout code + id: checkout + uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref || github.ref_name }} + token: ${{ secrets.GITHUB_TOKEN }}