mirror of
https://github.com/softinio/softinio.com.git
synced 2025-08-31 17:26:42 -07:00
switch to using determinate systems gha for ci
This commit is contained in:
parent
feb58d1fca
commit
d37819d6f3
1 changed files with 5 additions and 17 deletions
22
.github/workflows/deploy.yml
vendored
22
.github/workflows/deploy.yml
vendored
|
@ -15,25 +15,13 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
uses: DeterminateSystems/determinate-nix-action@v3
|
||||
|
||||
- name: Setup Nix store cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /nix/store
|
||||
key: ${{ runner.os }}-nix-store-${{ hashFiles('**/flake.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nix-store-
|
||||
- name: Setup FlakeHub Cache
|
||||
uses: DeterminateSystems/flakehub-cache-action@main
|
||||
|
||||
- name: Cache flake inputs
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/nix
|
||||
key: ${{ runner.os }}-nix-flake-${{ hashFiles('**/flake.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nix-flake-
|
||||
- name: Check Nix flake
|
||||
uses: DeterminateSystems/nix-flake-checker-action@main
|
||||
|
||||
- name: Build site (pull request)
|
||||
if: github.event_name == 'pull_request'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue