feat: update CI to run all the available Cairo and Cairo Zero programs #234
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.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@v4 | |
# Adding cairo-format | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: pip | |
- run: pip install cairo-lang | |
- name: Trunk Check | |
uses: trunk-io/trunk-action@v1 |