Skip to content

Update to use toolchain version #4

Update to use toolchain version

Update to use toolchain version #4

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
rust: [stable, nightly]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
id: toolchain
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: clippy
if: matrix.os == 'ubuntu-latest' && matrix.rust == 'stable'
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings