chore(deps): Update packages managed by nvfetcher #170
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: Nix Lint | |
on: | |
pull_request: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
extra_nix_config: | | |
auto-optimise-store = true | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
experimental-features = nix-command flakes | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: yaxitech/nix-install-pkgs-action@v5 | |
with: | |
packages: "nixpkgs#statix" | |
- name: Run Statix Lint | |
run: statix fix | |
- name: Nix Flake Checker | |
uses: DeterminateSystems/flake-checker-action@v9 | |
- name: Show changes | |
run: git diff |