refactor(nix): use DeterminateSystems nix CI GHAs

This commit is contained in:
doprz
2025-10-14 16:27:56 -05:00
parent c9df1bf344
commit 3d3e8ced6f

View File

@@ -11,12 +11,16 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs: jobs:
nix-check: nix-check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
id-token: "write"
contents: "read"
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31 - uses: DeterminateSystems/nix-installer-action@main
with: - uses: DeterminateSystems/magic-nix-cache-action@main
github_access_token: ${{ secrets.GITHUB_TOKEN }} - uses: DeterminateSystems/flake-checker-action@main
- run: nix flake check - name: Run `nix flake check`
run: nix flake check
release: release:
name: Release name: Release
@@ -38,7 +42,7 @@ jobs:
github_access_token: ${{ secrets.GITHUB_TOKEN }} github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Dependencies - name: Install Dependencies
run: nix develop .#full --command pnpm install run: nix develop .#full --command pnpm install --frozen-lockfile
- name: Create Release Pull Request or Publish - name: Create Release Pull Request or Publish
id: changesets id: changesets