Skip to content

flake.lock: Update #733

flake.lock: Update

flake.lock: Update #733

Workflow file for this run

name: "CI"
on:
pull_request:
paths:
- '**.nix'
- 'flake.lock'
push:
branches: [ master ]
paths:
- '**.nix'
- 'flake.lock'
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: otavio-nix-config
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- run: nix flake check
nixos:
runs-on: ubuntu-latest
strategy:
matrix:
nixosConfiguration:
- micro
- nano
- poirot
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: otavio-nix-config
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- run: nix -L build ".#nixosConfigurations.${{ matrix.nixosConfiguration }}.config.system.build.toplevel"
nix:
runs-on: ubuntu-latest
strategy:
matrix:
homeConfiguration:
- "otavio@generic-x86"
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: cachix/cachix-action@v15
with:
name: otavio-nix-config
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- run: nix -L build ".#homeConfigurations.${{ matrix.homeConfiguration }}.activationPackage"