Skip to content

Commit

Permalink
build: add ci config that runs trunk check
Browse files Browse the repository at this point in the history
  • Loading branch information
chapati23 committed Jul 23, 2024
1 parent 4e037de commit 5151d7d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Trunk Check
on: [push]
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:
- uses: actions/checkout@v3
- uses: trunk-io/trunk-action@v1
with:
check-mode: all

0 comments on commit 5151d7d

Please sign in to comment.