Skip to content

Add cargo lock and use new cargo feat resolver #89

Add cargo lock and use new cargo feat resolver

Add cargo lock and use new cargo feat resolver #89

Workflow file for this run

name: CI
on:
push:
branches: ['*']
paths-ignore:
- '**.md'
pull_request:
branches: [main]
paths-ignore:
- '**.md'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
rust: [stable, nightly]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
components: clippy
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Build Debug
run: |
rustc --version
cargo build
- name: Run tests
run: cargo test
- name: Run clippy
run: cargo clippy
- name: Run ators
run: cargo run -- --help
formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: rustfmt
- name: Run rustfmt
run: cargo fmt -- --check