From 5151d7d334f07e0913864a9f9b52c382c678b02d Mon Sep 17 00:00:00 2001 From: Philip Paetz Date: Tue, 23 Jul 2024 12:21:53 +0200 Subject: [PATCH] build: add ci config that runs trunk check --- .github/workflows/ci.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..9c41cb7 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -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