Skip to content

feat: add shared agent commit rules #18

feat: add shared agent commit rules

feat: add shared agent commit rules #18

Workflow file for this run

name: lint
on:
push: {}
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: DeterminateSystems/nix-installer-action@ef8a148080ab6020fd15196c2084a2eea5ff2d25 # v22
- name: shellcheck
run: |
mapfile -t scripts < <(find . -name '*.sh' -not -path './.git/*' | sort)
nix shell github:NixOS/nixpkgs/nixpkgs-26.05-darwin#shellcheck --command shellcheck "${scripts[@]}"
- name: actionlint
run: nix shell github:NixOS/nixpkgs/nixpkgs-26.05-darwin#actionlint --command actionlint
- name: zizmor
run: nix shell github:NixOS/nixpkgs/nixpkgs-26.05-darwin#zizmor --command zizmor .
- name: statix
run: nix shell github:NixOS/nixpkgs/nixpkgs-26.05-darwin#statix --command statix check .