Skip to content

feat: update config.toml #33

feat: update config.toml

feat: update config.toml #33

Workflow file for this run

on: push
name: Rust CI
jobs:
check:
name: check
runs-on: ubuntu-latest
steps:
- name: checkout sources
uses: actions/checkout@v2
- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: check for errors
uses: actions-rs/cargo@v1
with:
command: check
args: --locked
env:
RUST_BACKTRACE: 1
test:
name: test
runs-on: ubuntu-latest
steps:
- name: checkout sources
uses: actions/checkout@v2
- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: run tests
uses: actions-rs/cargo@v1
with:
command: unit-test
args: --locked --tests
env:
RUST_BACKTRACE: 1
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- name: checkout sources
uses: actions/checkout@v2
- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
override: true
- name: run linter
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings