Skip to content

Commit fe08a91

Browse files
fix: use same Nixpkgs as everywhere
1 parent e1643af commit fe08a91

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/actionlint.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
with:
2525
persist-credentials: false # Because installing actionlint runs arbitrary code, we discard the GITHUB_TOKEN after this step
2626
# Taken from https://github.com/rhysd/actionlint/blob/v1.7.7/docs/usage.md#use-actionlint-on-github-actions
27+
- uses: cachix/install-nix-action@v29
2728
- name: Check workflow files
28-
run: nix-shell -p actionlint --run actionlint
29-
29+
run: |
30+
export NIX_PATH=nixpkgs=$(nix-instantiate --eval -A pkgs.path)
31+
nix-shell -p actionlint --run actionlint

0 commit comments

Comments
 (0)