Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,10 @@ jobs:
exit 1
fi

# disabled because it uses glob instead of this library
# - if: always() && !cancelled()
# name: action-validator
# run: |
# git ls-files -z ".github/*/*.yml" "*/action.yml" | xargs --null action-validator --verbose
- if: always() && !cancelled()
name: action-validator
run: |
git ls-files -z ".github/*/*.yml" "*/action.yml" | xargs --null action-validator --verbose

- if: always() && !cancelled() && (steps.changed.outputs.actionlint == 'true' || github.event_name == 'push')
name: actionlint
Expand Down
24 changes: 12 additions & 12 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
rustToolchain
toml-cli
nur-anttiharju.legacyPackages.${system}.zig."custom" # TODO: switch back to upstream Zig once 0.16 is available through stable nixpkgs (https://codeberg.org/ziglang/zig/pulls/30628)
# action-validator # disabled because it uses glob instead of this library
anttiharju.action-validator
actionlint
anttiharju.relcheck
anttiharju.compare-changes
Expand Down
6 changes: 2 additions & 4 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ pre-commit:
run: cargo clippy --fix --allow-staged
stage_fixed: true

# action-validator does not play well with nix-direnv (it scans all files instead of ones in version control)
# also disabled because it uses glob instead of this library
# - name: action-validator
# run: git ls-files -z '.github/workflows/*.yml' '*/action.yml' | xargs --null action-validator --verbose
- name: action-validator
run: git ls-files -z '.github/workflows/*.yml' '*/action.yml' | xargs --null action-validator --verbose

- name: actionlint
glob: ".github/workflows/*.yml"
Expand Down
Loading