attempt to fix ci #136
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: "checks" | |
on: | |
pull_request: | |
push: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3.5.3 | |
- uses: cachix/install-nix-action@v27 | |
with: | |
install_url: https://github.com/nix-community/nix-unstable-installer/releases/download/nix-2.23.0pre20240603_da92ad7/install | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
- run: nix flake check | |
- run: nix run nixpkgs#statix -- check ./pkgs && nix run nixpkgs#statix -- check ./modules && nix run nixpkgs#statix -- check flake.nix | |
- run: nix run github:astro/deadnix -- -fh ./modules ./pkgs flake.nix |