Skip to content

Merge pull request #150 from dcSpark/v2.2.3 #31

Merge pull request #150 from dcSpark/v2.2.3

Merge pull request #150 from dcSpark/v2.2.3 #31

Workflow file for this run

name: Linter and unit tests
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Setup"
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: "Format check"
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: "Linter checks"
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets -- --deny "clippy::all"
- name: "Check"
uses: actions-rs/cargo@v1
with:
command: check
args: --all-features --all-targets
- name: "Test"
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --all-targets