fix(deps): update rust crate clap to v4.5.20 #883
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: "fmt" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
# Make sure the actual branch is checked out when running on pull requests | |
ref: ${{ github.head_ref }} | |
repository: ${{github.event.pull_request.head.repo.full_name || github.repository }} | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
components: rustfmt, clippy | |
- name: Install Rust problem matchers | |
uses: r7kamura/rust-problem-matchers@v1 | |
- name: cargo +nightly fmt --check | |
uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: -- --check |