Skip to content

chore: Enforce conventional commits #45

chore: Enforce conventional commits

chore: Enforce conventional commits #45

Workflow file for this run

name: macOS
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: brew
run: |
brew update
brew install libmagic
- name: install Rust MSRV
uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
with:
profile: minimal
# toolchain could be implicit from rust-toolchain.toml see https://github.com/actions-rs/toolchain#the-toolchain-file
# but this doesn't support .toml files
toolchain: "1.64.0"
override: true
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose