Skip to content

feat: support serial run (#6) #15

feat: support serial run (#6)

feat: support serial run (#6) #15

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt, clippy
- name: Check code format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-targets -- -D warnings
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --workspace --all-features --all-targets
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --no-fail-fast --all-features