blob: f394c9877b8bbfd74b8d55e7c87288778ff73a32 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
name: main
on:
- pull_request
- push
jobs:
main:
name: ${{matrix.rust}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{matrix.rust}}
components: rustfmt, clippy
- run: cargo clippy -- -W clippy::pedantic
- run: cargo fmt --all -- --check
- run: cargo test
# - run: cargo install cargo-tarpaulin && cargo tarpaulin --out Xml
# - uses: codecov/codecov-action@v1
strategy:
matrix:
rust:
- stable
- beta
|