Skip to content

build(deps): bump DeterminateSystems/magic-nix-cache-action from 5 to 6 #1116

build(deps): bump DeterminateSystems/magic-nix-cache-action from 5 to 6

build(deps): bump DeterminateSystems/magic-nix-cache-action from 5 to 6 #1116

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- develop
- ci/*
- feat/*
- feature/*
- hotfix/*
- release/*
pull_request:
jobs:
format:
name: Lint format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v11
- 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: Install hclfmt
run: nix profile install 'nixpkgs#hclfmt'
- name: Install taplo
run: nix profile install 'nixpkgs#taplo'
- name: Install clang-tools
run: nix profile install 'nixpkgs#clang-tools'
- name: Run shfmt, shellcheck, checkbashisms
uses: luizm/action-sh-checker@v0.8.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
sh_checker_shfmt_disable: true
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 clang-format \
--formatters nix \
--formatters shell \
--formatters hcl \
--formatters toml
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.0.1
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@v2