Skip to content

[ci] release 워크플로 수정 #21

[ci] release 워크플로 수정

[ci] release 워크플로 수정 #21

Workflow file for this run

name: Lint
on:
workflow_dispatch:
pull_request:
branches: [ "main", "dev" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt
- name: Retrieve cache
uses: Leafwing-Studios/cargo-cache@v2
- name: Check rustfmt
run: cargo +nightly fmt
- name: Check clippy
run: cargo +nightly clippy -- -D warnings