Skip to content

[Flake] Make devshells use overlays #1176

[Flake] Make devshells use overlays

[Flake] Make devshells use overlays #1176

Workflow file for this run

---
name: Run linters
"on":
- push
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
shell: nix develop --accept-flake-config .#lint --command bash -e {0}
steps:
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Check out repository code
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Lint GitHub Actions
run: actionlint
- name: Find security issues in GitHub actions
run: zizmor .
- name: Lint yaml
run: yamllint .
- name: Lint lua
run: selene .
- name: Lint lua formatting
run: stylua --check .
- name: Lint nix (statix)
run: statix check
- name: Lint nix (nixpkgs-fmt)
run: nixpkgs-fmt --check .