Skip to content

Commit

Permalink
build: Verify the integrity of the ubuntu repo
Browse files Browse the repository at this point in the history
  • Loading branch information
AiyionPrime committed Sep 4, 2024
1 parent 361fa37 commit da02f10
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: CI
'on':
push:
branches:
- main
pull_request: null
jobs:
ubuntu_verify_repo:
uses: ./.github/workflows/ci_ubuntu_verify_repo.yml
21 changes: 21 additions & 0 deletions .github/workflows/ci_ubuntu_verify_repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI ubuntu verify repo
'on':
workflow_call: null
jobs:
regeneration_is_clean:
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/
- name: Regenerate Packages.gz
run: gzip -k -f Packages --no-name
working-directory: ./ubuntu/
- name: Verify Packages.gz is up to date
run: git diff --exit-code
working-directory: ./ubuntu/

0 comments on commit da02f10

Please sign in to comment.