-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (49 loc) · 1.43 KB
/
pr.yaml
File metadata and controls
56 lines (49 loc) · 1.43 KB
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
52
53
54
55
56
name: Pull Request
on:
pull_request:
concurrency:
group: pr-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
RUST_BACKTRACE: 1
jobs:
validate-rust:
name: Validate Rust
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- id: validate-rust
uses: ./.github/actions/validate-rust
with:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
check-dependencies:
name: Check Rust Dependencies
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- advisories
- bans licenses sources
# NOTE: Prevent sudden announcement of a new advisory from failing ci
continue-on-error: ${{ matrix.checks == 'advisories' }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: EmbarkStudios/cargo-deny-action@76cd80eb775d7bbbd2d80292136d74d39e1b4918 #v2.0.14
with:
command: check ${{ matrix.checks }}
validate-drivers:
runs-on: ubuntu-latest
name: Validate Python
strategy:
matrix:
projects: ["executors/accelerate"]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- id: validate-python-uv
uses: ./.github/actions/validate-python-uv
with:
project-path: ${{ matrix.projects }}