build(deps): bump h2 from 0.3.24 to 0.3.26 #27
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: Linting and formatting | |
on: | |
pull_request: | |
workflow_dispatch: | |
env: | |
RUSTFLAGS: -D warnings | |
jobs: | |
lint-and-format: | |
name: Lint and check formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install cargo make | |
uses: davidB/rust-cargo-make@v1 | |
- name: Install nightly toolchain | |
run: cargo make install-nightly | |
- name: Install stable toolchain | |
run: cargo make install-stable | |
- name: Run cargo clippy | |
run: cargo make clippy-check | |
- name: Run cargo fmt | |
run: cargo make format-check | |
- name: Run cargo machete | |
run: cargo make machete-check | |
- name: Lint todo comments | |
run: cargo make todo-check |