Skip to content

Merge pull request #60 from biscuit-auth/test-clap #45

Merge pull request #60 from biscuit-auth/test-clap

Merge pull request #60 from biscuit-auth/test-clap #45

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