Skip to content

Merge pull request #1 from chesedo/nix_shell #29

Merge pull request #1 from chesedo/nix_shell

Merge pull request #1 from chesedo/nix_shell #29

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check format
run: bash scripts.sh cf
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Clippy
run: bash scripts.sh cc
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install nightly toolchain
run: rustup toolchain install nightly --component rustfmt
- name: Install cargo-expand
run: cargo +nightly install cargo-expand
- name: Run tests
run: bash scripts.sh ct