Skip to content

[chore(ci)](deps): Bump mozilla-actions/sccache-action from 0.0.4 to … #1742

[chore(ci)](deps): Bump mozilla-actions/sccache-action from 0.0.4 to …

[chore(ci)](deps): Bump mozilla-actions/sccache-action from 0.0.4 to … #1742

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@v6
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v7
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