Remove deprecated Status::new
constructor method
#52
Workflow file for this run
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" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-22.04 | |
container: rust:1.75 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: cargo build | |
- run: cargo test | |
lint: | |
runs-on: ubuntu-22.04 | |
container: rust:1.78 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup component add clippy | |
- run: cargo clippy --all-targets --all-features -- -D warnings | |
fmt: | |
runs-on: ubuntu-22.04 | |
container: rust:1.78 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup component add rustfmt | |
- run: cargo fmt -- --check |