summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-22 16:31:49 +0800
committertranch <tranch.xiao@gmail.com>2026-07-22 16:31:49 +0800
commit40ee74f08f96c7be7c3356b98152a6a1f1a31f4d (patch)
tree65a3ff034fc71470d9b012c594715263b24f2a53 /.github
parent226cda5808873f213ea858f85404eb8d61d7c82b (diff)
downloadAeroCore-OS-40ee74f08f96c7be7c3356b98152a6a1f1a31f4d.tar.gz
AeroCore-OS-40ee74f08f96c7be7c3356b98152a6a1f1a31f4d.zip
ci: add live installer PR validation
Diffstat (limited to '.github')
-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