Skip to content

Commit

Permalink
add task to run in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gantoine committed May 24, 2024
1 parent acb52f3 commit 8476068
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Run Pytest

on:
pull_request:
types:
- "opened"
- "synchronize"
paths-ignore:
- "docker/**"
- "examples/*"
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/trunk-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run Trunk Check

on:
pull_request:

concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions: read-all

jobs:
trunk_check:
runs-on: ubuntu-latest
permissions:
checks: write # For trunk to post annotations
contents: read # For repo checkout
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Trunk Check
uses: trunk-io/trunk-action@v1

0 comments on commit 8476068

Please sign in to comment.