Skip to content

fix: properly handle config file errors #208

fix: properly handle config file errors

fix: properly handle config file errors #208

Workflow file for this run

name: Build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
include:
- os: ubuntu-latest
artifact_name: baker
asset_name: baker-linux-amd64
- os: windows-latest
artifact_name: baker.exe
asset_name: baker-windows-amd64.exe
- os: macos-latest
artifact_name: baker
asset_name: baker-macos-amd64
steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy -- -D warnings
- name: Build Release
run: cargo build --verbose --release
- name: Run tests
run: cargo test --verbose