Skip to content

chore(deps): lock file maintenance #78

chore(deps): lock file maintenance

chore(deps): lock file maintenance #78

Workflow file for this run

name: Test flake
on:
pull_request:
push:
branches:
- main
env:
CACHIX_BINARY_CACHE: altf4llc-os
jobs:
check:
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: ${{ env.CACHIX_BINARY_CACHE }}
- uses: actions/checkout@v4
- run: nix develop -c just check
build:
needs:
- check
runs-on: ubuntu-latest
strategy:
matrix:
profile:
- geist-mono
steps:
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: ${{ env.CACHIX_BINARY_CACHE }}
- uses: actions/checkout@v4
- run: nix develop -c just build "${{ matrix.profile }}"
build-darwin:
needs:
- check
runs-on: macos-latest
steps:
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: ${{ env.CACHIX_BINARY_CACHE }}
- uses: actions/checkout@v4
- run: |
nix develop -c just build \
"darwinConfigurations.x86_64.config.system.build.toplevel"
build-nixos:
needs:
- check
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: ${{ env.CACHIX_BINARY_CACHE }}
- uses: actions/checkout@v4
- run: |
nix develop -c just build \
"nixosConfigurations.x86_64.config.system.build.toplevel"