From 3945306fed5f9abab3091be40084f7091d650f7a Mon Sep 17 00:00:00 2001 From: Jan-Niklas Burfeind Date: Wed, 4 Sep 2024 17:04:11 +0200 Subject: [PATCH] build: Verify the integrity of the ubuntu repo --- .github/workflows/ci.yml | 9 +++++++++ .github/workflows/ci_ubuntu_verify_repo.yml | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/ci_ubuntu_verify_repo.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ee28ca0 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,9 @@ +name: CI +'on': + push: + branches: + - main + pull_request: null +jobs: + format_code: + uses: ./.github/workflows/ci_ubuntu_verify_repo.yml diff --git a/.github/workflows/ci_ubuntu_verify_repo.yml b/.github/workflows/ci_ubuntu_verify_repo.yml new file mode 100644 index 0000000..9af97b4 --- /dev/null +++ b/.github/workflows/ci_ubuntu_verify_repo.yml @@ -0,0 +1,15 @@ +name: CI ubuntu verify repo +'on': + workflow_call: null +jobs: + fmt: + runs-on: ubuntu-latest + steps: + - name: Checkout (GitHub) + uses: actions/checkout@v4 + - name: Regenerate Packages + run: dpkg-scanpackages --multiversion . > Packages + working-directory: ./ubuntu/ + - name: Verify Packages is up to date + run: git diff --exit-code + working-directory: ./ubuntu/