Skip to content

fix(test): fix templating tests #241

fix(test): fix templating tests

fix(test): fix templating tests #241

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