Skip to content

refactor: update development configurations in docker-compose #20

refactor: update development configurations in docker-compose

refactor: update development configurations in docker-compose #20

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
paths:
- 'src/**'
- 'etc/**'
pull_request:
branches: [ "main" ]
paths:
- 'src/**'
- 'etc/**'
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Install Protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Build
run: cargo build --verbose