Skip to content

Update branch from master to main #13

Update branch from master to main

Update branch from master to main #13

Workflow file for this run

on:
push:
branches: [main]
pull_request:
name: CI
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- run: cargo clippy -- -D warnings
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
name: "Build"
with:
command: build
- uses: actions-rs/cargo@v1
name: "cargo fmt"
with:
command: fmt
args: -- --check
- uses: actions-rs/cargo@v1
name: cargo test
with:
command: test