Skip to content

Add Dockerfile and docker-compose #49

Add Dockerfile and docker-compose

Add Dockerfile and docker-compose #49

Workflow file for this run

name: ci-build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release --verbose
- name: Run tests
run: cargo test --release --verbose
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install nightly
run: rustup toolchain install nightly
- name: Install rustfmt
run: rustup +nightly component add rustfmt
- name: Check fmt
run: cargo +nightly fmt --all -- --check