Skip to content

add: Workflowの作成 #1

add: Workflowの作成

add: Workflowの作成 #1

Workflow file for this run

name: Rustfmt
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Run rustfmt
run: cargo fmt --all --check