-
-
Notifications
You must be signed in to change notification settings - Fork 157
51 lines (51 loc) · 1.39 KB
/
rust-stub.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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:
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"'