chore: release #145
Workflow file for this run
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: Check Swift | |
| permissions: | |
| id-token: write | |
| contents: read | |
| # Swift coverage runs on its own macOS workflow because `swift test` needs | |
| # the macOS toolchain. Gated on Swift sources and `rs/moq-ffi` (which | |
| # Swift bundles via uniffi). | |
| on: | |
| pull_request: | |
| paths: | |
| - 'swift/**' | |
| - 'rs/moq-ffi/**' | |
| - 'justfile' | |
| - '.github/workflows/check-swift.yml' | |
| concurrency: | |
| group: check-swift-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| name: Check | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| - uses: DeterminateSystems/nix-installer-action@1d87d45818068401a10cf16bdc5f00b24994a83f # main | |
| with: | |
| determinate: false | |
| - uses: DeterminateSystems/magic-nix-cache-action@908b263ff629f4cc17666315b7fd3ec127c6244d # main | |
| - name: Rust Cache | |
| uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 | |
| with: | |
| cache-on-failure: true | |
| # No FILES arg = force-run; the workflow's paths filter is | |
| # already the gate for whether to fire at all. | |
| - run: nix develop --command just swift ci |