v1.31 #3246
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/** | |
- legacy/** | |
- tests/** | |
- Cargo.lock | |
- Cargo.toml | |
- Makefile.toml | |
- rust-toolchain.toml | |
jobs: | |
build-wasm: | |
name: Build WASM | |
runs-on: ubuntu-latest | |
steps: | |
- run: 'echo "Not affected, skipping"' | |
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: | |
${{ github.event_name == 'pull_request' && contains(github.head_ref, 'develop-') || | |
github.event_name == 'push' && github.ref_name == 'master' }} | |
name: Code coverage | |
runs-on: ubuntu-latest | |
needs: | |
- test | |
steps: | |
- run: 'echo "Not affected, skipping"' |