chore: allow manual series override for sync dispatch #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Validate Packaging | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/**' | |
| - 'packaging/**' | |
| - 'scripts/**' | |
| - 'README.md' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/**' | |
| - 'packaging/**' | |
| - 'scripts/**' | |
| - 'README.md' | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential curl jq devscripts debhelper dput xz-utils desktop-file-utils xdg-utils lintian distro-info-data | |
| - name: Check shell syntax | |
| run: | | |
| bash -n scripts/*.sh scripts/lib/*.sh | |
| - name: Build source package | |
| run: | | |
| ./scripts/build-source-package.sh --series "questing" | |
| - name: Lint generated source package | |
| run: | | |
| lintian --fail-on error dist/*.dsc dist/*_source.changes | |
| - name: Validate generated source and binary payloads | |
| run: | | |
| ./scripts/validate-generated-packages.sh dist |