Skip to content

Commit

Permalink
feat: add just syntax checker (blue-build#194)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
ArtikusHG and xynydev authored Nov 22, 2023
1 parent fefcf23 commit 9b3db9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]

Expand Down
2 changes: 2 additions & 0 deletions config/files/usr/share/ublue-os/just/100-bling.just
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# this file is a placeholder,
# making changes here is not supported
3 changes: 1 addition & 2 deletions config/files/usr/share/ublue-os/just/60-custom.just
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
!include /usr/share/ublue-os/just/100-bling.just

!include 100-bling.just
# Include some of your custom scripts here!

0 comments on commit 9b3db9c

Please sign in to comment.