NetBSD CI #227
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CI GitHub Actions workflow for monolith | |
name: CI | |
on: | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- 'assets/' | |
- 'dist/' | |
- 'snap/' | |
- 'Dockerfile' | |
- 'LICENSE' | |
- 'Makefile' | |
- 'monolith.nuspec' | |
- 'README.md' | |
jobs: | |
build_and_test: | |
name: Build and test | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
rust: | |
- stable | |
- beta | |
- nightly | |
runs-on: ${{ matrix.os }} | |
steps: | |
- run: git config --global core.autocrlf false | |
- name: "Checkout repository" | |
uses: actions/checkout@v4 | |
- name: Build | |
run: cargo build --all --locked --verbose | |
- name: Run tests | |
run: cargo test --all --locked --verbose | |
- name: Check code formatting | |
run: | | |
rustup component add rustfmt | |
cargo fmt --all -- --check |