Skip to content

Commit

Permalink
fix(lint,test): action path is relative to subdirectories in the action
Browse files Browse the repository at this point in the history
  • Loading branch information
shakefu authored and armand-sauzay committed Oct 13, 2022
1 parent 3b8c3e5 commit 8b81853
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
- name: Install poetry dependencies
if: hashFiles('poetry.lock') != ''
shell: bash
run: ${GITHUB_ACTION_PATH}/lib/poetry-install.sh
run: ${GITHUB_ACTION_PATH}/../lib/poetry-install.sh
- name: Install pip dependencies
if: hashFiles('poetry.lock') == ''
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
if: hashFiles('poetry.lock') != ''
shell: bash
run: |
${GITHUB_ACTION_PATH}/lib/poetry-install.sh
${GITHUB_ACTION_PATH}/../lib/poetry-install.sh
poetry install --extras dev || echo "No dev extras"
poetry install --with dev || echo "No dev dependency group"
poetry install --extras test || echo "No test extras"
Expand Down

0 comments on commit 8b81853

Please sign in to comment.