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