Skip to content

Commit

Permalink
feat: add just syntax checker (#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
2 people authored and Zalaxx committed Jan 1, 2024
1 parent a378d97 commit 2e81c79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 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
1 change: 1 addition & 0 deletions config/files/usr/share/ublue-os/just/60-custom.just
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
!include 100-bling.just
# Include some of your custom scripts here!

0 comments on commit 2e81c79

Please sign in to comment.