Skip to content

remove bors

remove bors #28

Workflow file for this run

on:
push:
branches-ignore:
- '**.tmp'
name: ci
jobs:
test:
runs-on: ubuntu-20.04
strategy:
matrix:
rust:
- stable
- beta
- nightly
- 1.47.0
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2.4.0
- name: Run all tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: beta
override: true
components: rustfmt, clippy
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2.4.0
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings