Skip to content

Commit

Permalink
fix: moving checkout to inital step
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbayareametro committed Sep 19, 2024
1 parent c780de2 commit c1286dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/trunk-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
network: ${{ steps.filter.outputs.network }}
steps:
# For pull requests it's not necessary to checkout the code
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
Expand All @@ -24,8 +25,6 @@ jobs:
if: ${{ needs.changes.outputs.network == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Trunk install
uses: trunk-io/trunk-action/setup@v1
- name: Trunk Check
Expand Down

0 comments on commit c1286dc

Please sign in to comment.