Merge branch 'master' of github.com:GREsau/okapi #116
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, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build | |
- name: Run tests | |
run: cargo test | |
- name: Format | |
run: cargo fmt -- --check | |
- name: Linting | |
run: cargo clippy -- -D warnings | |
- name: Audit | |
run: | | |
cargo update | |
cargo audit | |
# Allowed to fail but this will notify us that some dependency might need an update. | |
continue-on-error: true |