summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-26 01:32:34 +0800
committertranch <tranch.xiao@gmail.com>2026-07-26 01:32:34 +0800
commit02f76b85f9ebcb198184599a6b18f5c885280a43 (patch)
tree68844802ce7e89efa9f2e5d6f942f6105df20317 /.github
parent632a225e1aa0e5c024a38b1367d8c755479a889f (diff)
downloadAeroCore-OS-02f76b85f9ebcb198184599a6b18f5c885280a43.tar.gz
AeroCore-OS-02f76b85f9ebcb198184599a6b18f5c885280a43.zip
Run lightweight checks for pull requests
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml4
-rw-r--r--.github/workflows/validate-installer-iso.yml18
2 files changed, 9 insertions, 13 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 97bfd91..b9d12cf 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -5,10 +5,6 @@ on:
branches:
- main
- testing
- pull_request:
- branches:
- - main
- - testing
#schedule:
# - cron: '05 10 * * *' # 10:05am UTC everyday
workflow_dispatch:
diff --git a/.github/workflows/validate-installer-iso.yml b/.github/workflows/validate-installer-iso.yml
index 37f5496..131ad5b 100644
--- a/.github/workflows/validate-installer-iso.yml
+++ b/.github/workflows/validate-installer-iso.yml
@@ -1,20 +1,17 @@
-name: Validate installer ISO
+name: Validate pull request
on:
pull_request:
- paths:
- - "Justfile"
- - "installer/**"
- - "just_scripts/build-installer-iso.sh"
- - ".github/workflows/build-installer-iso.yml"
- - ".github/workflows/validate-installer-iso.yml"
+ branches:
+ - main
+ - testing
permissions:
contents: read
jobs:
- validate-installer-iso:
- name: Validate installer ISO inputs
+ validate:
+ name: Run lightweight checks
runs-on: ubuntu-24.04
steps:
@@ -28,6 +25,9 @@ jobs:
run: |
ruby -e 'require "yaml"; Dir[".github/workflows/*.yml"].each { |file| YAML.load_file(file) }'
+ - name: Validate Just syntax
+ run: just check
+
- name: Validate Justfile formatting
run: |
just --unstable --fmt --check -f Justfile