-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rename test workflow to `validate_datapack` - change test workflow to only run on commits on PRs and commits that are pushed to main
- Loading branch information
1 parent
8194563
commit 1a80473
Showing
3 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
8 changes: 6 additions & 2 deletions
8
.github/workflows/validate.yml → .github/workflows/validate_datapack.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: validate_scripts | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
prettier: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Prettify code | ||
uses: creyD/[email protected] | ||
with: | ||
dry: True | ||
prettier_options: '--check .' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Ignore datapack/resourcepack | ||
datapacks | ||
resourcepack |