Skip to content

Apply @gwen-lg's suggested CI improvement (#26) #136

Apply @gwen-lg's suggested CI improvement (#26)

Apply @gwen-lg's suggested CI improvement (#26) #136

Workflow file for this run

on: [push, pull_request]
name: Stable
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --no-default-features
readme:
name: Readme
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Install cargo-readme
run: cargo install cargo-readme
- name: Check if readme is up to date
run: diff README.md <(cargo readme)
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features