new: Support partial versions for toolchain tools. #2178
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
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks | |
name: Rust | |
on: | |
pull_request: | |
paths-ignore: | |
- .cargo/config.toml | |
- .github/workflows/rust.yml | |
- crates/** | |
- nextgen/** | |
- tests/** | |
- Cargo.lock | |
- Cargo.toml | |
- Makefile.toml | |
- rust-toolchain.toml | |
jobs: | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'echo "Not affected, skipping"' | |
lint: | |
name: Lint | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- run: 'echo "Not affected, skipping"' | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [buildjet-4vcpu-ubuntu-2204, self-hosted-laptop-macos-m1, self-hosted-laptop-windows-i7] | |
steps: | |
- run: 'echo "Not affected, skipping"' | |
coverage: | |
if: ${{ contains(github.head_ref, 'develop-') || endsWith(github.ref, 'master') }} | |
name: Code coverage | |
runs-on: ubuntu-latest | |
needs: | |
- test | |
steps: | |
- run: 'echo "Not affected, skipping"' |