Skip to content

chore(deps): Bump cachix/install-nix-action from 24 to 25 #71

chore(deps): Bump cachix/install-nix-action from 24 to 25

chore(deps): Bump cachix/install-nix-action from 24 to 25 #71

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Nix:
strategy:
fail-fast: false
matrix:
experimental: [false]
os: [ ubuntu-latest, macos-12 ]
pkg:
- dmd
- ldc
- dub
include:
- { experimental: true, pkg: ldc, os: macos-12 }
exclude:
- { experimental: false, pkg: ldc, os: macos-12 }
name: ${{ matrix.pkg }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
# NIX_PATH is explicitly set to a wrong value to prevent accidental
# usage. `nixpkgs` should be accessed only through the locked flake
# reference.
nix_path: nixpkgs=null
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config:
accept-flake-config = true
- uses: cachix/cachix-action@v13
with:
name: dlang-community
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build ${{ matrix.job_name }}
run: nix build -L --json --no-link '.#${{ matrix.pkg }}'