all: Port to satisfy latest clippy #166
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the master branch | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
release: | |
types: # This configuration does not affect the page_build event above | |
- created | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ | |
ubuntu-latest, | |
macos-latest, | |
windows-latest | |
] | |
version: | |
- 1.70.0 | |
- stable | |
- nightly | |
runs-on: ${{ matrix.platform }} | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.version }} | |
components: rustfmt, clippy | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose |