From 6cf2d778397d8e21d9100589f35fb402fa9beb56 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Wed, 12 Mar 2025 01:18:35 -0400 Subject: nix: flake.nix -> shell.nix --- .github/workflows/eslint.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to '.github/workflows/eslint.yaml') diff --git a/.github/workflows/eslint.yaml b/.github/workflows/eslint.yaml index aee65e8..3dc7d56 100644 --- a/.github/workflows/eslint.yaml +++ b/.github/workflows/eslint.yaml @@ -47,18 +47,21 @@ jobs: uses: actions/checkout@v4 - name: Install Nix - uses: DeterminateSystems/nix-installer-action@v14 + uses: cachix/install-nix-action@v31 + with: + nix_path: nixpkgs=channel:nixos-unstable - name: Install Dependencies - run: nix develop .#ci --command pnpm install --frozen-lockfile + run: | + nix-shell ci-shell.nix --command 'pnpm install --frozen-lockfile' - name: Run ESLint continue-on-error: true run: | - nix develop .#ci --command \ - nrr lint \ + nix-shell ci-shell.nix --command \ + 'nrr lint \ --format @microsoft/eslint-formatter-sarif \ - --output-file /tmp/results.sarif + --output-file /tmp/results.sarif' - name: Upload Results uses: github/codeql-action/upload-sarif@v3 -- cgit v1.2.3