summaryrefslogtreecommitdiff
path: root/.github/workflows/validate-live-installer.yml
diff options
context:
space:
mode:
authorTranch <tranch.xiao@gmail.com>2026-07-22 17:26:46 +0800
committerGitHub <noreply@github.com>2026-07-22 17:26:46 +0800
commit677aaf3fbbe3f941c1b782980dbc0b422d937027 (patch)
tree8156006e752aa03a910281021ffb5f364927a8d6 /.github/workflows/validate-live-installer.yml
parent96aac6e87ac41b27383d1839687f391925080007 (diff)
parent5198f735cf5a8c9e8390c2fa2156252c79be72ab (diff)
downloadAeroCore-OS-677aaf3fbbe3f941c1b782980dbc0b422d937027.tar.gz
AeroCore-OS-677aaf3fbbe3f941c1b782980dbc0b422d937027.zip
Merge pull request #2 from AeroCore-IO/testing
Complete AeroCore OS metadata migration and live installer integration
Diffstat (limited to '.github/workflows/validate-live-installer.yml')
-rw-r--r--.github/workflows/validate-live-installer.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/validate-live-installer.yml b/.github/workflows/validate-live-installer.yml
new file mode 100644
index 0000000..3d35a5d
--- /dev/null
+++ b/.github/workflows/validate-live-installer.yml
@@ -0,0 +1,40 @@
+name: Validate live installer
+
+on:
+ pull_request:
+ paths:
+ - "Justfile"
+ - "installer/**"
+ - "just_scripts/build-live-installer.sh"
+ - ".github/workflows/build-live-installer.yml"
+ - ".github/workflows/validate-live-installer.yml"
+
+permissions:
+ contents: read
+
+jobs:
+ validate-live-installer:
+ name: Validate live installer 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