Update dependencies #115
Workflow file for this run
This file contains hidden or 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: | |
| pull_request: | |
| branches: ["main"] | |
| env: | |
| RUST_VERSION: "1.83.0" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 1 | |
| - name: Set up Rust | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ env.RUST_VERSION }} | |
| components: clippy, rustfmt | |
| - name: Update git submodules | |
| run: git submodule update --init | |
| - name: Rust cargo format | |
| run: cargo fmt --all -- --check | |
| - name: Rust cargo clippy | |
| run: cargo clippy -- -D warnings | |
| - name: Rust cargo test | |
| run: cargo test | |
| - name: Rust cargo build | |
| run: cargo build --locked |