Skip to content

Test command-line parsing configuration #44

Test command-line parsing configuration

Test command-line parsing configuration #44

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.cargo
target/
key: ${{ runner.os }}-${{ hashFiles('Cargo.toml') }}
restore-keys: |
${{ runner.os }}-${{ hashFiles('Cargo.toml') }}
${{ runner.os }}-
- name: Build & lint
run: |
cargo build --verbose
cargo fmt --check
cargo clippy
- name: Tests
run: |
cargo test