Skip to content

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update Rust
run: rustup update stable
- name: Clippy
run: cargo clippy -- -D warnings
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update Rust
run: rustup update stable
- name: Format
run: cargo fmt -- --check
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update Rust
run: rustup update stable
- name: Test
run: cargo test --verbose
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Update Rust
run: rustup update stable
- name: Build
run: cargo build --verbose