Skip to content

CI: also test on macOS #84

CI: also test on macOS

CI: also test on macOS #84

Workflow file for this run

---
# configuration for GitHub Actions
name: hardshare client
on:
push:
pull_request:
jobs:
build-and-test:
name: Build and test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [
ubuntu-22.04,
macos-latest,
]
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Prepare to build
run: |
mkdir keys
touch keys/public.pem
- name: Lint
run: |
cargo fmt --check
cargo check
cargo clippy --tests -- -D clippy::all
- name: Run tests
run: |
cargo test