Skip to content

re-enable github actions #223

re-enable github actions

re-enable github actions #223

Workflow file for this run

name: NixOS
on:
pull_request:
paths-ignore:
- 'home/**'
push:
branches:
- master
paths-ignore:
- 'GNOME.md'
- 'README.md'
- 'notes/**'
- '.git-crypt/**'
- '.gitattributes'
- '.gitignore'
- 'home/**'
- 'outputs/hm.nix'
- 'switch'
- '.mergify.yml'
- 'garnix.yaml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
hostname:
- dell-xps
- thinkpad-x1
- tongfang-amd
- xmod
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Push images to ECR
uses: ./.github/actions/push-image-to-ecr
with:
name: ${{ matrix.image_name }}
steps:

Check failure on line 43 in .github/workflows/nixos.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nixos.yml

Invalid workflow file

You have an error in your yaml syntax on line 43
- uses: actions/[email protected]
- name: "Install Nix ❄️"
uses: cachix/install-nix-action@v30
- name: "Install Cachix ❄️"
uses: cachix/cachix-action@v15
with:
name: gvolpe-nixos
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
# Needed because cachix is also installed by Home Manager
- name: "Set priority flag for Cachix 🚩"
run: nix-env --set-flag priority 0 cachix
- name: "Build ${{ matrix.config_name }} Home Manager config 🏠"
run: nix build .#homeConfigurations.${{ matrix.config_name }}.activationPackage -L