chore(deps): update google-github-actions/release-please-action digest to e4dc86b #734
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: Format and Lint | |
on: [push, pull_request] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Rustup version | |
run: rustup --version | |
- name: Cargo version | |
run: cargo --version | |
- name: Install toolchains | |
run: rustup component add rustfmt | |
- name: Check format | |
run: | | |
cargo fmt --version | |
cargo fmt -- --check | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Rustup version | |
run: rustup --version | |
- name: Cargo version | |
run: cargo --version | |
- name: Install toolchains | |
run: rustup component add clippy | |
- name: Lint | |
run: | | |
cargo clippy --version | |
cargo clippy |