-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (35 loc) · 874 Bytes
/
ci.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: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '0 0 * * *'
env:
CARGO_TERM_COLOR: always
jobs:
main:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- run: "rustup component add clippy"
- uses: actions/checkout@v2
- run: "cargo build --verbose"
- run: "cargo test --verbose --tests"
- run: "cargo test --verbose --doc"
- run: "cargo doc --verbose"
- run: "cargo build --verbose --release"
- name: remove Cargo.lock
uses: JesseTG/rm@v1.0.3
with:
path: Cargo.lock
- run: "cargo outdated --verbose --root-deps-only --exit-code 1"
- run: "cargo clippy --verbose"