Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (25 sloc) 702 Bytes
name: Build and Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build, Test, Analyse
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: rustup component add clippy
- run: rustup component add rustfmt
- run: cargo build
- run: cargo test
- run: cargo fmt -- --check
- run: cargo clippy --all-targets --all-features -- -D warnings
- name: Code Coverage
uses: actions-rs/tarpaulin@v0.1
with:
args: '-v'
- name: Codecov.io
uses: codecov/codecov-action@v1.0.2
with:
token: ${{secrets.CODECOV_TOKEN}}
You can’t perform that action at this time.