Added github workflows and ignored expensive tests #1
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: Rust CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
-main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Rust | |
uses: actions/checkout@v4 | |
- name: Install cargo-audit | |
run: cargo install cargo-audit | |
- name: Build | |
run: cargo build --verbose | |
- name: Test | |
run: cargo test --verbose | |
- name: Clippy | |
run: cargo clippy --verbose -- -D warnings | |
- name: Audit | |
run: cargo audit | |