Skip to content

[chore(ci)](deps): bump DeterminateSystems/nix-installer-action from 10 to 11 #1714

[chore(ci)](deps): bump DeterminateSystems/nix-installer-action from 10 to 11

[chore(ci)](deps): bump DeterminateSystems/nix-installer-action from 10 to 11 #1714

Workflow file for this run

name: 📦 Nix Build
on:
push:
branches: [main]
pull_request:
branches: ["**"]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
nix: ${{ steps.filter.outputs.nix }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
nix:
- 'flake.nix'
- 'flake.lock'
run-checks:
needs: changes
if: ${{ needs.changes.outputs.nix == 'true' }}
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v11
- name: Cache Magic
uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v5
with:
ignore-missing-flake-lock: false
fail-mode: true
- name: Nix Develop Check
run: |
nix develop --show-trace -c irust --version
nix develop --show-trace -c rustc --version
- name: Nix Homestar Build
if: ${{ github.event_name == 'push' }}
run: nix build . && ./result/bin/homestar --version