name: "Continuous Integration"
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: "always"
jobs:
linux:
name: Check, Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: check
uses: actions-rs/cargo@v1
with:
command: check
- name: build
uses: actions-rs/cargo@v1
with:
command: build
- name: test
uses: actions-rs/cargo@v1
with:
command: test
- name: doc
uses: actions-rs/cargo@v1
with:
command: doc