Skip to content

feat: Add support for FreeBSD #90

feat: Add support for FreeBSD

feat: Add support for FreeBSD #90

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, nightly]
steps:
- uses: actions/[email protected]
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
components: 'clippy'
- run: cargo build --verbose
- name: Run tests
run: cargo test --verbose -- --nocapture
- run: cargo clippy
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: hecrj/setup-rust-action@v1
with:
rust-version: stable
components: 'rustfmt'
- run: cargo fmt -- --check