This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
Merge pull request #223 from 3tilley/master #56
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: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@master | |
- name: Install Rust (rustup) | |
run: rustup update nightly --no-self-update && rustup default nightly | |
shell: bash | |
- run: cargo test --all | |
- run: cargo test --all -- --ignored | |
rustfmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Install Rust | |
run: rustup update stable && rustup default stable && rustup component add rustfmt | |
- run: cargo fmt --check |