all: Port from chainerror
to thiserror
(#114)
#160
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: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.version }} | |
override: true | |
components: rustfmt, clippy | |
- name: Build | |
run: cargo build --verbose | |
- name: Run tests | |
run: cargo test --verbose |