feat: add instruction component constraints #231
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trunk | |
on: [pull_request] | |
concurrency: | |
group: ${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
trunk_check: | |
name: Trunk Code Quality Runner | |
runs-on: ubuntu-latest | |
permissions: | |
checks: write # For trunk to post annotations | |
contents: read # For repo checkout | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- run: rustup update | |
- name: Rust cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: "true" | |
- name: Trunk Code Quality | |
uses: trunk-io/trunk-action@v1 |