-
-
Notifications
You must be signed in to change notification settings - Fork 33
44 lines (39 loc) · 845 Bytes
/
rust.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
name: Rust
on:
push:
branches: [main]
paths-ignore:
- "docs/**"
- "images/**"
- "**.md"
- "**.yml"
- "LICENSE-**"
- ".gitmessage"
- ".pre-commit-config.yaml"
pull_request:
branches: [main]
paths-ignore:
- "docs/**"
- "images/**"
- "**.md"
- "**.yml"
- "LICENSE-**"
- ".pre-commit-config.yaml"
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# installing pylyzer itself is required for the tests
- name: Build
run: |
rustup update stable
cargo install --debug --path .
- name: Run tests
run: cargo test --verbose --features large_thread
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings