Switch from the multiplexer to axum-tonic and bump necessary library versions #326
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: Cargo Test | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| name: Test | |
| env: | |
| PROJECT_NAME_UNDERSCORE: concord | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: nightly | |
| override: true | |
| - name: Cargo cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Install rustfmt | |
| run: rustup component add rustfmt | |
| - name: Install protobuf | |
| run: sudo apt-get install -y protobuf-compiler | |
| - name: Run tests | |
| run: cargo test |