Skip to content

chore: general readme, development, example updates #445

chore: general readme, development, example updates

chore: general readme, development, example updates #445

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@v2
id: filter
with:
filters: |
nix:
- 'flake.nix'
- 'flake.lock'
run-checks:
needs: changes
if: ${{ needs.changes.outputs.nix == 'true' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Cache Magic
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v5
with:
ignore-missing-flake-lock: false
fail-mode: true
- name: Nix Build
run: |
nix develop --show-trace -c irust --version
nix develop --show-trace -c rustc --version