mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
32 lines
604 B
YAML
32 lines
604 B
YAML
name: MacOS
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- "*.md"
|
|
- "./site/**/*"
|
|
push:
|
|
paths-ignore:
|
|
- "*.md"
|
|
- "./site/**/*"
|
|
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
override: true
|
|
components: rustfmt, clippy
|
|
- name: Build
|
|
run: cargo build
|
|
- name: Run tests
|
|
run: cargo test --verbose --features github-actions
|
|
- name: Clippy
|
|
run: cargo clippy -- -Dwarnings
|