diff options
author | Mihai Fufezan <[email protected]> | 2023-09-13 19:06:49 +0300 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2023-09-14 17:55:53 +0300 |
commit | f8008e4b3beb4aae2365973879a46fe0f15c79b4 (patch) | |
tree | 8b1674da7810200bcd07932361154844ef8c35b5 /.github | |
parent | 2536630049f3847c0c44340f4706f3664c8b52fb (diff) | |
download | Hyprland-f8008e4b3beb4aae2365973879a46fe0f15c79b4.tar.gz Hyprland-f8008e4b3beb4aae2365973879a46fe0f15c79b4.zip |
Nix CI: use DetSys' install & cache actions
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/nix-build.yml | 11 | ||||
-rw-r--r-- | .github/workflows/nix-update-inputs.yml | 10 | ||||
-rw-r--r-- | .github/workflows/nix-update-wlroots.yml | 10 |
3 files changed, 4 insertions, 27 deletions
diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml index 7f630ecf..fb98f099 100644 --- a/.github/workflows/nix-build.yml +++ b/.github/workflows/nix-build.yml @@ -20,15 +20,8 @@ jobs: with: ref: ${{ github.ref }} - - name: Install Nix - uses: cachix/install-nix-action@v22 - with: - install_url: https://nixos.org/nix/install - extra_nix_config: | - auto-optimise-store = true - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - experimental-features = nix-command flakes - + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main - uses: cachix/cachix-action@v12 with: name: hyprland diff --git a/.github/workflows/nix-update-inputs.yml b/.github/workflows/nix-update-inputs.yml index 2de1cf9f..f5df3f4f 100644 --- a/.github/workflows/nix-update-inputs.yml +++ b/.github/workflows/nix-update-inputs.yml @@ -14,15 +14,7 @@ jobs: with: token: ${{ secrets.PAT }} - - name: Install nix - uses: cachix/install-nix-action@v22 - with: - install_url: https://nixos.org/nix/install - extra_nix_config: | - auto-optimise-store = true - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - experimental-features = nix-command flakes - + - uses: DeterminateSystems/nix-installer-action@main - name: Update inputs run: nix/update-inputs.sh diff --git a/.github/workflows/nix-update-wlroots.yml b/.github/workflows/nix-update-wlroots.yml index 82bbc311..a0db9ef5 100644 --- a/.github/workflows/nix-update-wlroots.yml +++ b/.github/workflows/nix-update-wlroots.yml @@ -16,15 +16,7 @@ jobs: with: token: ${{ secrets.PAT }} - - name: Install nix - uses: cachix/install-nix-action@v22 - with: - install_url: https://nixos.org/nix/install - extra_nix_config: | - auto-optimise-store = true - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - experimental-features = nix-command flakes - + - uses: DeterminateSystems/nix-installer-action@main - name: Update lockfile run: nix/update-wlroots.sh |