Skip to content

Commit

Permalink
Merge pull request #90 from vst/vst/update-github-actions
Browse files Browse the repository at this point in the history
Update GitHub Actions
  • Loading branch information
vst authored Jun 7, 2024
2 parents b8d9d1e + 0f4b3d2 commit 250a995
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
- name: "Checkout Codebase"
uses: "actions/checkout@v4"

- name: "Install nix"
uses: "cachix/install-nix-action@v25"
- name: "Install Nix"
uses: "cachix/install-nix-action@v27"
with:
nix_path: "nixpkgs=channel:nixos-24.05"

- name: "Use magic Nix cache"
uses: "DeterminateSystems/magic-nix-cache-action@v3"
- name: "Use Magic Nix Cache"
uses: "DeterminateSystems/magic-nix-cache-action@v7"

- name: "Check Application"
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,26 @@ jobs:
steps:
- id: "release"
name: "Release"
uses: "google-github-actions/release-please-action@v4"
uses: "googleapis/release-please-action@v4"

- name: "Checkout Codebase"
if: "${{ steps.release.outputs.release_created }}"
uses: "actions/checkout@v4"
with:
fetch-depth: 0

- name: "Install nix"
- name: "Install Nix"
if: "${{ steps.release.outputs.release_created }}"
uses: "cachix/install-nix-action@v25"
uses: "cachix/install-nix-action@v27"
with:
nix_path: "nixpkgs=channel:nixos-24.05"
extra_nix_config: "system-features = benchmark, big-parallel, nixos-test, uid-range, kvm"

- name: "Use magic Nix cache"
- name: "Use Magic Nix Cache"
if: "${{ steps.release.outputs.release_created }}"
uses: "DeterminateSystems/magic-nix-cache-action@v3"

- name: "Check Application"
- name: "Build Application"
if: "${{ steps.release.outputs.release_created }}"
run: |
nix-shell --run "bash build-static.sh"
Expand Down

0 comments on commit 250a995

Please sign in to comment.