Reduce MSRV #20
Workflow file for this run
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: Check README.md | |
on: [ push, pull_request ] | |
permissions: | |
contents: write | |
packages: read | |
id-token: write | |
jobs: | |
build: | |
name: check README.md | |
runs-on: | |
- lab | |
timeout-minutes: 180 | |
strategy: | |
fail-fast: false | |
matrix: | |
toolchain: | |
- 1.80.1 # MSRV | |
- 1.81.0 # expected release target | |
- nightly-2024-10-10 # Pinned nightly | |
- stable # floating | |
- beta # floating | |
- nightly # floating | |
llvm: | |
- 19 | |
target: | |
- x86_64-unknown-linux-gnu | |
- x86_64-unknown-linux-musl | |
profile: | |
- debug | |
- release | |
just_version: | |
- 1.36.0 | |
steps: | |
- name: login to ghcr.io | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: install just | |
uses: extractions/setup-just@v2 | |
with: | |
just-version: ${{matrix.just_version}} | |
- name: install rustup | |
uses: dtolnay/rust-toolchain@stable | |
- run: just install-rust-toolchain ${{matrix.toolchain}} | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- run: just --yes llvm_version=${{matrix.llvm}} refresh-compile-env | |
- run: just --yes fake-nix | |
- name: build | |
run: just cargo +${{matrix.toolchain}} build --profile=${{matrix.profile}} --target=${{matrix.target}} | |
- name: test | |
run: just cargo +${{matrix.toolchain}} test --profile=${{matrix.profile}} --target=${{matrix.target}} |