Skip to content

Merge pull request #43 from rushmorem/bump-dependencies #77

Merge pull request #43 from rushmorem/bump-dependencies

Merge pull request #43 from rushmorem/bump-dependencies #77

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
check:
name: Check on v1.68.2
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.68.2
override: true
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
args: --features std
test:
name: Test on stable
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features -- -D warnings
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features