Skip to content

Commit

Permalink
workflow: use ci-minimum dev shell
Browse files Browse the repository at this point in the history
  • Loading branch information
hellwolf committed Aug 26, 2024
1 parent 58abb2b commit 349f760
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:

runs-on: ubuntu-latest

defaults:
run:
shell: nix develop .#ci-minimum -c bash -xe {0}

outputs:
build_subgraph: ${{ env.BUILD_SUBGRAPH }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

defaults:
run:
shell: nix develop . -c bash -xe {0}
shell: nix develop .#ci-minimum -c bash -xe {0}

outputs:
build_solidity_semantic_money: ${{ env.BUILD_SOLIDITY_SEMANTIC_MONEY }}
Expand Down
5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,10 @@

# CI shells
devShells.mk-cache-key = mkShell {
buildInputs = [ mk-cache-key-pkg ];
buildInputs = [ mk-cache-key-pkg ];
};
devShells.ci-minimum = mkShell {
buildInputs = ciInputs ++ commonDevInputs;
};
devShells.ci-default = mkShell {
buildInputs = ciInputs ++ minimumDevInputs;
Expand Down

0 comments on commit 349f760

Please sign in to comment.