Skip to content

Commit

Permalink
fix-workflow
Browse files Browse the repository at this point in the history
Signed-off-by: kwrobel.eth <djstrong@gmail.com>
  • Loading branch information
djstrong authored Jan 23, 2025
1 parent 6991e35 commit ced2c06
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,19 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [3.8, 3.11]


permissions:
contents: write

steps:
- uses: actions/checkout@v3

- if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}

- if: ${{ github.event_name != 'pull_request' }}
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry

Expand Down

0 comments on commit ced2c06

Please sign in to comment.