summaryrefslogtreecommitdiff
path: root/.github/workflows/validate-installer-iso.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/validate-installer-iso.yml')
-rw-r--r--.github/workflows/validate-installer-iso.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/validate-installer-iso.yml b/.github/workflows/validate-installer-iso.yml
new file mode 100644
index 0000000..37f5496
--- /dev/null
+++ b/.github/workflows/validate-installer-iso.yml
@@ -0,0 +1,40 @@
+name: Validate installer ISO
+
+on:
+ pull_request:
+ paths:
+ - "Justfile"
+ - "installer/**"
+ - "just_scripts/build-installer-iso.sh"
+ - ".github/workflows/build-installer-iso.yml"
+ - ".github/workflows/validate-installer-iso.yml"
+
+permissions:
+ contents: read
+
+jobs:
+ validate-installer-iso:
+ name: Validate installer ISO inputs
+ runs-on: ubuntu-24.04
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
+
+ - name: Install just
+ uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4
+
+ - name: Validate workflow YAML
+ run: |
+ ruby -e 'require "yaml"; Dir[".github/workflows/*.yml"].each { |file| YAML.load_file(file) }'
+
+ - name: Validate Justfile formatting
+ run: |
+ just --unstable --fmt --check -f Justfile
+
+ - name: Validate build scripts
+ run: |
+ for script in build_files/*.sh installer/*.sh just_scripts/*.sh; do
+ bash -n "$script"
+ done
+ bash -n system_files/usr/libexec/aerocore-instruments-setup