forked from privacy-scaling-explorations/halo2wrong
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 790 Bytes
/
lints.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
name: Lints
# We only run these lints on trial-merges of PRs to reduce noise.
on:
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build-test-IPA:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo test --verbose --release
clippy:
if: github.event.pull_request.draft == false
name: Clippy
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
components: clippy
override: false