-
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (29 loc) · 818 Bytes
/
rust.yaml
File metadata and controls
35 lines (29 loc) · 818 Bytes
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
name: Rust CI
on:
push:
paths:
- ".github/workflows/rust.yaml"
- '**.rs'
- '**/Cargo.toml'
- '**/Cargo.lock'
permissions:
contents: read
jobs:
lint:
uses: darbiadev/.github/.github/workflows/rust-lint.yaml@440166417b42442c6114aaa895094f0db7de9b78 # v15.2.0
clippy:
needs: lint
uses: darbiadev/.github/.github/workflows/rust-clippy.yaml@440166417b42442c6114aaa895094f0db7de9b78 # v15.2.0
test:
needs: "clippy"
strategy:
matrix:
triple:
- {
os: "ubuntu-latest",
target: "x86_64-unknown-linux-gnu",
}
uses: darbiadev/.github/.github/workflows/rust-test.yaml@440166417b42442c6114aaa895094f0db7de9b78 # v15.2.0
with:
os: ${{ matrix.triple.os }}
target: ${{ matrix.triple.target }}