Skip to content

update ctrlc and nix crates #117

update ctrlc and nix crates

update ctrlc and nix crates #117

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt
override: true
- name: Check formatting
run: cargo fmt -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- name: Run clippy
run: cargo clippy --verbose -- -D warnings -D clippy::dbg_macro -D clippy::todo
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: cargo test --verbose
- name: Run tests with default features disabled
run: cargo test --no-default-features --verbose
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
test-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: cargo test --verbose
- name: Run tests with default features disabled
run: cargo test --no-default-features --verbose
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose