Skip to content

a

a #31

Workflow file for this run

name: Rust
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
submodules: "recursive"
- name: Install protoc
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Build
run: cargo build --verbose
if: ${{ success() }}
- name: Run tests
run: cargo test --verbose
- name: Build Docker image
run: docker build -t my-image .