mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:45:59 +01:00
Nix CI: use DetSys' install & cache actions
This commit is contained in:
parent
2536630049
commit
f8008e4b3b
3 changed files with 4 additions and 27 deletions
11
.github/workflows/nix-build.yml
vendored
11
.github/workflows/nix-build.yml
vendored
|
@ -20,15 +20,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Install Nix
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
uses: cachix/install-nix-action@v22
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
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: cachix/cachix-action@v12
|
- uses: cachix/cachix-action@v12
|
||||||
with:
|
with:
|
||||||
name: hyprland
|
name: hyprland
|
||||||
|
|
10
.github/workflows/nix-update-inputs.yml
vendored
10
.github/workflows/nix-update-inputs.yml
vendored
|
@ -14,15 +14,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
|
|
||||||
- name: Install nix
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
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
|
|
||||||
|
|
||||||
- name: Update inputs
|
- name: Update inputs
|
||||||
run: nix/update-inputs.sh
|
run: nix/update-inputs.sh
|
||||||
|
|
||||||
|
|
10
.github/workflows/nix-update-wlroots.yml
vendored
10
.github/workflows/nix-update-wlroots.yml
vendored
|
@ -16,15 +16,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PAT }}
|
token: ${{ secrets.PAT }}
|
||||||
|
|
||||||
- name: Install nix
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
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
|
|
||||||
|
|
||||||
- name: Update lockfile
|
- name: Update lockfile
|
||||||
run: nix/update-wlroots.sh
|
run: nix/update-wlroots.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue