[ci] release
워크플로 수정
#21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |