summaryrefslogtreecommitdiff
path: root/.github/workflows/eslint.yaml
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-03-12 01:18:35 -0400
committerSeth Flynn <[email protected]>2025-03-12 20:26:38 -0400
commit6cf2d778397d8e21d9100589f35fb402fa9beb56 (patch)
treeb3287c2e5418446b22488041af44dc9ddc81c519 /.github/workflows/eslint.yaml
parentfa4eb3a1ab14173cf27be23c0fde71a4c73f974c (diff)
nix: flake.nix -> shell.nix
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