build(deps): bump clap from 4.5.24 to 4.5.26 #1039
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: | |
push: | |
branches: | |
- main | |
- develop | |
- ci/* | |
- release/* | |
pull_request: | |
env: | |
CI: 1 | |
jobs: | |
format: | |
name: Lint format | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Install treefmt | |
run: nix profile install 'nixpkgs#treefmt' | |
- name: Install prettier | |
run: nix profile install 'nixpkgs#nodePackages.prettier' | |
- name: Install nixpkgs-fmt | |
run: nix profile install 'nixpkgs#nixpkgs-fmt' | |
- name: Run shfmt, shellcheck, checkbashisms | |
uses: luizm/action-sh-checker@v0.9.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
sh_checker_comment: true | |
sh_checker_checkbashisms_enable: true | |
- name: Run treefmt | |
run: | | |
treefmt \ | |
--allow-missing-formatter \ | |
--fail-on-change \ | |
--no-cache \ | |
--formatters prettier \ | |
--formatters nix \ | |
--formatters shell | |
commit: | |
name: Lint commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run commitlint | |
uses: wagoid/commitlint-github-action@v6.2.0 | |
codespell: | |
name: Codespell | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: codespell-project/codespell-problem-matcher@v1 | |
- name: Codespell | |
uses: codespell-project/actions-codespell@master |