Merge pull request #488 from sksat/renovate/anyhow-1.x #1939
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: | |
branches: | |
- master | |
- dev-* | |
pull_request: | |
env: | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
rust: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/[email protected] | |
with: | |
toolchain: stable | |
components: clippy | |
override: true | |
- name: install cargo-make | |
uses: sksat/rust-cargo-make@add-makers | |
- name: cache dependencies | |
uses: Swatinem/[email protected] | |
- name: clippy check | |
uses: actions-rs/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features | |
- name: clippy with reviewdog | |
uses: sksat/action-clippy@main | |
with: | |
reporter: github-pr-review | |
clippy_flags: --all-features | |
- name: compile for unit test | |
run: cargo make compile-for-test | |
- name: unit test | |
run: cargo make test |