Skip to content

Merge pull request #91 from Asone/dependabot/cargo/quinn-proto-0.11.8 #246

Merge pull request #91 from Asone/dependabot/cargo/quinn-proto-0.11.8

Merge pull request #91 from Asone/dependabot/cargo/quinn-proto-0.11.8 #246

Workflow file for this run

name: Build & Test
on:
push:
branches: [ '*' ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: ⚒ Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.77
override: true
components: rustc
- name: Install protobuf dependency
run: sudo apt-get -y install protobuf-compiler
- name: ⚡ Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: 🏗 Build
run: cargo build --verbose
- name: 🎯 Run tests
env:
RUST_TEST_THREADS: 1
run: cargo test --verbose