Skip to content

main

main #1

Workflow file for this run

name: main
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
- name: Run | Lint
run: cargo clippy
format:
name: check format
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Run | Check format
uses: actions-rust-lang/rustfmt@v1