-
-
Notifications
You must be signed in to change notification settings - Fork 163
44 lines (44 loc) · 1.19 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
# 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-8vcpu-ubuntu-2204, self-hosted-laptop-macos-m1, self-hosted-laptop-windows-i7]
steps:
- run: 'echo "Not affected, skipping"'
coverage:
if: ${{ contains(github.ref, 'develop-') || github.ref_name == 'master' }}
name: Code coverage
runs-on: ubuntu-latest
needs:
- test
steps:
- run: 'echo "Not affected, skipping"'