Skip to content

build(deps): bump snafu from 0.7.5 to 0.8.0 #739

build(deps): bump snafu from 0.7.5 to 0.8.0

build(deps): bump snafu from 0.7.5 to 0.8.0 #739

Workflow file for this run

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@v24
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.8.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 clang-format nix 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@v5.4.4
with:
firstParent: false
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