Delete a lot of old things! #9
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: Flake Build | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
flake-check: | |
name: Run the flake checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
tool-cache: true | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: cachix/cachix-action@v14 | |
with: | |
name: nixos-configs | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Run flake check | |
run: nix flake check | |
flake-health-checker: | |
name: Check Flake Health | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check Nix flake inputs | |
uses: DeterminateSystems/flake-checker-action@v4 | |
flakehub-publish: | |
name: Publish every Git push to main to FlakeHub | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/flakehub-push@main | |
env: | |
NIXPKGS_ALLOW_UNFREE: 1 | |
with: | |
name: giodamelio/nixos-configs | |
rolling: true | |
visibility: public | |
include-output-paths: true |