Add nixosConfigurations build target #4
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: Build devshell | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: cachix | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Check flake.lock file | |
uses: DeterminateSystems/flake-checker-action@main | |
- name: Install nix and flakes | |
uses: DeterminateSystems/nix-installer-action@main | |
- name: Use magic nix cache | |
uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Use cachix nix cache | |
uses: cachix/cachix-action@master | |
with: | |
name: nichijou | |
extraPullNames: colmena,cuda-maintainers,hyprland,nix-community,nixpkgs-wayland,numtide,nrdxp | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: Build devshell | |
run: nix develop --command "echo 'Hello, world!'" |