Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Merge pull request #5 from cosmonaut-nz/cli #16

Merge pull request #5 from cosmonaut-nz/cli

Merge pull request #5 from cosmonaut-nz/cli #16

Workflow file for this run

name: Rust Check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: Check formatting
run: cargo fmt -- --check
- name: Check clippy
run: cargo clippy --all-targets --all-features -- -D warnings