Skip to content

Commit 3ac0ca9

Browse files
committed
Limit devshells in github actions to only required packages
1 parent ac6f315 commit 3ac0ca9

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/actionlint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
accept-flake-config = true
2121
# Make the Nix environment available to next steps
2222
- uses: rrbutani/use-nix-shell-action@v1
23+
with:
24+
flakes: nixpkgs#shellcheck,nixpkgs#actionlint
2325

2426
- name: actionlint
2527
run: |

.github/workflows/check-changelog.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ jobs:
4343
if: steps.filter.outputs.cardano == 'true'
4444
uses: rrbutani/use-nix-shell-action@v1
4545
with:
46+
flakes: nixpkgs#scriv
4647
script: cd cardano-testnet && scriv collect --version "CI-CHECK" --keep
4748

.github/workflows/shellcheck.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
with:
2121
extra_nix_config: |
2222
accept-flake-config = true
23-
# Make the Nix environment available to next steps
2423
- uses: rrbutani/use-nix-shell-action@v1
24+
with:
25+
flakes: nixpkgs#shellcheck
2526
- name: shellcheck
2627
run: |
2728
for file in $(git ls-files "*.sh")

0 commit comments

Comments
 (0)