fix(release): restore 2.5.21 cross builds #2256
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: Min Rust Version (1.95.0) | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # Auto-cancel superseded PR runs: pushing again to a feature branch | |
| # supersedes the in-flight run instead of queueing behind it. Non-PR | |
| # events key on run_id so each gets its own group -- a shared group keeps | |
| # only ONE pending run, which would silently drop queued main SHAs. | |
| concurrency: | |
| group: msrv.yml-${{ github.event_name == 'pull_request' && github.ref || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" | |
| jobs: | |
| msrv: | |
| name: Min Rust Version (1.95.0) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup soldr | |
| id: setup-soldr | |
| uses: zackees/setup-soldr@v0 | |
| with: | |
| version: 0.8.23 | |
| cache: true | |
| build-cache: true | |
| target-cache: true | |
| prebuild-deps: none | |
| toolchain: 1.95.0 | |
| # Opt out of the implicit `SOLDR_LINKER=fast` injection so cargo / | |
| # rust-toolchain.toml stays in charge. Silences the routine | |
| # "defaulting SOLDR_LINKER=fast" warning (issue #400 / | |
| # setup-soldr#377). | |
| linker: platform-default | |
| # Realistic zccache payload for the workspace check job is | |
| # ~1.5–2 GiB (issue #400). Raise the soft warn threshold above | |
| # the steady-state size. Hard cap stays at 6 GiB. | |
| cache-payload-warn-bytes: 2GiB | |
| - name: Check MSRV | |
| run: soldr cargo check --workspace |