Skip to content

Lots o garbage update #111

Lots o garbage update

Lots o garbage update #111

Workflow file for this run

on:
pull_request:
branches:
- main
push:
branches:
- '!main'
workflow_dispatch:
name: CI
env:
CARGO_TERM_COLOR: always
jobs:
# --------------------------------------------------------------------------
# Check
check:
name: cargo check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-targets
# --------------------------------------------------------------------------
# Fmt
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
# --------------------------------------------------------------------------
# Clippy
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- --no-deps