Commit 3563c178 authored by pennae's avatar pennae Committed by zowoq
Browse files

workflows: pin install-nix-action to use nix 2.13.3

same reasoning as #218858, only now for an action we depend on and can't
fix quite as easily. cachix-action also uses nix-env and will thus not
work correctly, so pin the nix version used to the last known good one.
parent 7ceeb440
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,8 @@ jobs:
    steps:
    - uses: actions/checkout@v3
    - uses: cachix/install-nix-action@v19
      with:
        install_url: https://releases.nixos.org/nix/nix-2.13.3/install
    - uses: cachix/cachix-action@v12
      with:
        # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
+1 −0
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ jobs:
        # nixpkgs commit is pinned so that it doesn't break
        # editorconfig-checker 2.4.0
        nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/c473cc8714710179df205b153f4e9fa007107ff9.tar.gz
        install_url: https://releases.nixos.org/nix/nix-2.13.3/install
    - name: Checking EditorConfig
      run: |
        cat "$HOME/changed_files" | nix-shell -p editorconfig-checker --run 'xargs -r editorconfig-checker -disable-indent-size'
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ jobs:
        with:
          # explicitly enable sandbox
          extra_nix_config: sandbox = true
          install_url: https://releases.nixos.org/nix/nix-2.13.3/install
      - uses: cachix/cachix-action@v12
        with:
          # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ jobs:
        with:
          # explicitly enable sandbox
          extra_nix_config: sandbox = true
          install_url: https://releases.nixos.org/nix/nix-2.13.3/install
      - uses: cachix/cachix-action@v12
        with:
          # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ jobs:
        with:
          # explicitly enable sandbox
          extra_nix_config: sandbox = true
          install_url: https://releases.nixos.org/nix/nix-2.13.3/install
      - uses: cachix/cachix-action@v12
        with:
          # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
Loading