Package list validation for 35/merge at 7f2badb1c4d62f01b1f1e3897a2a74e96c994213 #449
This file contains 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 Package Lists | |
run-name: Package list validation for ${{ github.ref_name }} at ${{ github.sha }} | |
on: | |
push: | |
paths: | |
- 'etc/calamares/modules/netinstall.yaml' | |
- 'etc/calamares/modules/packagechooser_DE.conf' | |
- '.github.workflows/test.yml' | |
- 'tests/index.ts' | |
pull_request: | |
paths: | |
- 'etc/calamares/modules/netinstall.yaml' | |
- 'etc/calamares/modules/packagechooser_DE.conf' | |
- '.github.workflows/test.yml' | |
- 'tests/index.ts' | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: "Branch to validate" | |
required: true | |
default: "main" | |
sha: | |
description: "SHA to validate" | |
required: true | |
default: "HEAD" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Git Repository | |
uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Setup libarchive-tools | |
run: sudo apt update && sudo apt install -y libarchive-tools | |
- name: Validate Package Lists | |
run: cd tests && bun install && bun index.ts |