ci: modernize GitHub Actions — remove bots, SHA-pin, add zd test #303
This file contains hidden or 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 Code Quality | |
| on: | |
| push: | |
| branches: [main, next] | |
| tags: ["v*.*.*"] | |
| pull_request: | |
| types: [opened, synchronize] | |
| workflow_dispatch: {} | |
| concurrency: | |
| group: ${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| permissions: read-all | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: write # For trunk to post annotations | |
| contents: read # For repo checkout | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| - name: Trunk Code Quality | |
| uses: trunk-io/trunk-action@75699af9e26881e564e9d832ef7dc3af25ec031b |