diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 42d3ea2..8345194 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,9 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v27 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/nix-installer-action@v12 + - uses: DeterminateSystems/magic-nix-cache-action@v7 - run: nix flake check - name: Install direnv with Nix uses: aldoborrero/direnv-nix-action@v2 @@ -37,9 +36,8 @@ jobs: needs: build steps: - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v27 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/nix-installer-action@v12 + - uses: DeterminateSystems/magic-nix-cache-action@v7 - name: Get tag version if: startsWith(github.ref, 'refs/tags/') id: get_tag_version @@ -60,9 +58,8 @@ jobs: needs: build steps: - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v27 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/nix-installer-action@v12 + - uses: DeterminateSystems/magic-nix-cache-action@v7 - name: Install direnv with Nix uses: aldoborrero/direnv-nix-action@v2 with: @@ -74,7 +71,6 @@ jobs: with: name: docs path: docs/ - # https://github.com/actions/upload-pages-artifact - uses: actions/upload-pages-artifact@v2 if: startsWith(github.ref, 'refs/tags/') with: @@ -82,5 +78,4 @@ jobs: - name: Deploy to GitHub Pages if: startsWith(github.ref, 'refs/tags/') id: deployment - # https://github.com/actions/deploy-pages uses: actions/deploy-pages@v2 diff --git a/.github/workflows/update-flake-lock.yml b/.github/workflows/update-flake-lock.yml index ab8482c..bd1d183 100644 --- a/.github/workflows/update-flake-lock.yml +++ b/.github/workflows/update-flake-lock.yml @@ -12,9 +12,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - uses: cachix/install-nix-action@v27 - with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: DeterminateSystems/nix-installer-action@v12 + - uses: DeterminateSystems/magic-nix-cache-action@v7 - name: Update flake.lock uses: DeterminateSystems/update-flake-lock@main with: