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
name: CI
on:
push:
branches:
- master
pull_request:
schedule:
- cron: '0 3 * * *' # daily, at 3am
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.46.0
override: true
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: build
args: --all
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --all
- name: cargo bench --no-run
uses: actions-rs/cargo@v1
with:
command: bench
args: --no-run