Merge pull request #53 from mtshiba/download-deps-v2 #209
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 | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- "docs/**" | |
- "images/**" | |
- "**.md" | |
- "**.yml" | |
- "LICENSE-**" | |
- ".gitmessage" | |
- ".pre-commit-config.yaml" | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- "docs/**" | |
- "images/**" | |
- "**.md" | |
- "**.yml" | |
- "LICENSE-**" | |
- ".pre-commit-config.yaml" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# installing pylyzer itself is required for the tests | |
- name: Build | |
run: | | |
rustup update stable | |
cargo install --debug --path . | |
- name: Run tests | |
run: cargo test --verbose --features large_thread | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: -- -D warnings |