Skip to content

Commit a9122a5

Browse files
committed
ci: fix direnv/gha path integration
1 parent a1fc145 commit a9122a5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- run: nix profile add .#direnv
1515
- run: |
1616
direnv allow
17+
direnv exec . sh -c 'echo $PATH' > "$GITHUB_PATH"
1718
direnv export gha >> "$GITHUB_ENV"
1819
- run: |
1920
pip install -r requirements/pre-commit.txt

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- run: nix profile add .#direnv
1515
- run: |
1616
direnv allow
17+
direnv exec . sh -c 'echo $PATH' > "$GITHUB_PATH"
1718
direnv export gha >> "$GITHUB_ENV"
1819
- run: |
1920
pip install -r requirements/test.txt

0 commit comments

Comments
 (0)