count unsafe functions #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v2 | |
- name: Check formatting | |
run: cargo fmt --check | |
- name: Apply lints | |
run: cargo clippy -- -D warnings | |
- name: Build dependency crate | |
run: cd deps_crate && cargo build | |
- name: Build | |
run: cargo build --release | |
- name: Test | |
run: cargo test --release |