summaryrefslogtreecommitdiff
path: root/.github/workflows/eslint.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/eslint.yaml')
-rw-r--r--.github/workflows/eslint.yaml13
1 files changed, 8 insertions, 5 deletions
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