From 2e81c79b4ddaa8d988aa1044e50ea9888e1b8910 Mon Sep 17 00:00:00 2001 From: ArtikusHG <24320212+ArtikusHG@users.noreply.github.com> Date: Wed, 22 Nov 2023 15:26:27 +0000 Subject: [PATCH] feat: add just syntax checker (#194) * feat: add just syntax checker * fix: create empty file to pass just syntax check * fix: use relative path to pass just syntax check * fix: justfiles cannot be empty to pass the syntax check * fix: format justfiles * docs: 100-bling.just explain purpose --------- Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com> --- .github/workflows/build.yml | 3 +++ config/files/usr/share/ublue-os/just/100-bling.just | 2 ++ config/files/usr/share/ublue-os/just/60-custom.just | 1 + 3 files changed, 6 insertions(+) create mode 100644 config/files/usr/share/ublue-os/just/100-bling.just diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 227b0c1..9056795 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,9 @@ jobs: - name: Checkout Push to Registry action uses: actions/checkout@v4 + - name: Check just syntax + uses: ublue-os/just-action@v1 + - name: Add yq (for reading recipe.yml) uses: mikefarah/yq@v4.40.2 diff --git a/config/files/usr/share/ublue-os/just/100-bling.just b/config/files/usr/share/ublue-os/just/100-bling.just new file mode 100644 index 0000000..9e3a89b --- /dev/null +++ b/config/files/usr/share/ublue-os/just/100-bling.just @@ -0,0 +1,2 @@ +# this file is a placeholder, +# making changes here is not supported diff --git a/config/files/usr/share/ublue-os/just/60-custom.just b/config/files/usr/share/ublue-os/just/60-custom.just index 2af075d..bd38c97 100644 --- a/config/files/usr/share/ublue-os/just/60-custom.just +++ b/config/files/usr/share/ublue-os/just/60-custom.just @@ -1 +1,2 @@ +!include 100-bling.just # Include some of your custom scripts here!