fix: change tracing::warn to tracing::error #110
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: Continuous Integration | |
on: | |
pull_request_target: | |
branches: | |
- master | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- id: toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
- run: rustup override set ${{steps.toolchain.outputs.name}} | |
- name: cargo fmt | |
uses: clechasseur/rs-cargo@v2 | |
with: | |
command: fmt | |
args: --all --check | |
- name: cargo clippy | |
uses: clechasseur/rs-clippy-check@v3 | |
with: | |
args: --all --all-features | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose |