From a5973a0db0276fc80fe86a007f5ae8c5cfb81cc3 Mon Sep 17 00:00:00 2001 From: Philipp Mandler Date: Thu, 9 Jan 2025 17:55:47 +0100 Subject: [PATCH] lint: use newer nix install action with flakes enbled --- .github/workflows/lint.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 59e4da83..5ab2d43a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,13 +17,14 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v22 + - uses: cachix/install-nix-action@v30 + - name: Wait for nix daemon to start if: runner.os == 'macOS' run: wait4path /nix/var/nix/profiles/per-user - name: Initialize nix environment - run: nix --extra-experimental-features 'nix-command flakes' develop . + run: nix develop . - name: Setup backend pypackages cache uses: actions/cache@v3 @@ -40,7 +41,7 @@ jobs: key: ${{ runner.os }}-${{ runner.arch }}-pypackages-${{ hashFiles('worker/uv.lock', 'proto/transcribee_proto/*.py') }} - name: install dependencies - run: nix --extra-experimental-features 'nix-command flakes' develop --command ./packaging/install_dependencies.sh + run: nix develop --command ./packaging/install_dependencies.sh - name: cache pre-commit env uses: actions/cache@v3 @@ -49,4 +50,4 @@ jobs: key: ${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.pre-commit-config.yaml') }} - name: run pre-commit - run: nix --extra-experimental-features 'nix-command flakes' develop --command pre-commit run --show-diff-on-failure --color=always --all-files + run: nix develop --command pre-commit run --show-diff-on-failure --color=always --all-files