Skip to content

Commit

Permalink
Replace linter by trunk workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Sep 28, 2023
1 parent 3158723 commit 2eb7a7c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 56 deletions.
56 changes: 0 additions & 56 deletions .github/workflows/linters.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/trunk-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Trunk

on:
push:
branches: [main]
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: read-all

jobs:
trunk_check:
name: Trunk Check Runner
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 2eb7a7c

Please sign in to comment.