Merge pull request #381 from ereslibre/update-flake-lock #1107
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
format: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Format | |
run: | | |
make fmt | |
git diff --exit-code | |
build: | |
name: Build | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
user: [ereslibre] | |
host: [hulk, nuc-1, nuc-2, nuc-3] | |
include: | |
- os: macos-latest | |
user: ereslibre | |
host: Rafaels-Air | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Build | |
run: | | |
make build \ | |
ACTIVATION_USER=${{ matrix.user }} \ | |
ACTIVATION_HOST=${{ matrix.host }} |