Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Lookatator committed Nov 28, 2023
1 parent 6eadf8a commit 68a41d3
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
if: ${{ github.event_name == 'push' }}

- name: Checkout
uses: actions/checkout@v3
if: ${{ github.event_name == 'pull_request_target' }}
with:
ref: "${{ github.event.pull_request.merge_commit_sha }}"

- name: Set up Docker Buildx
id: buildx
Expand Down Expand Up @@ -99,7 +106,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
if: ${{ github.event_name == 'push' }}

- name: Checkout
uses: actions/checkout@v3
if: ${{ github.event_name == 'pull_request_target' }}
with:
ref: "${{ github.event.pull_request.merge_commit_sha }}"

- name: Run pre-commits
run: |
Expand All @@ -117,7 +131,14 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
if: ${{ github.event_name == 'push' }}

- name: Checkout
uses: actions/checkout@v3
if: ${{ github.event_name == 'pull_request_target' }}
with:
ref: "${{ github.event.pull_request.merge_commit_sha }}"

- name: Run pytests
run: |
Expand Down

0 comments on commit 68a41d3

Please sign in to comment.