add names to steps
This commit is contained in:
parent
d901c30034
commit
4e3bbe5583
1 changed files with 27 additions and 8 deletions
35
.github/workflows/nix.yml
vendored
35
.github/workflows/nix.yml
vendored
|
|
@ -7,20 +7,39 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v16
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install nix
|
||||
uses: cachix/install-nix-action@v16
|
||||
|
||||
|
||||
# TODO: add a binary cache
|
||||
# - uses: cachix/cachix-action@v10
|
||||
# with:
|
||||
# name: YOURCACHE
|
||||
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- run: nix flake check --accept-flake-config
|
||||
# Pre-build the system configuration
|
||||
- run: nix build --accept-flake-config .
|
||||
|
||||
|
||||
- name: Check the flake
|
||||
run: nix flake check --accept-flake-config
|
||||
|
||||
|
||||
- name: Pre-build the system configuration
|
||||
run: nix build --accept-flake-config .
|
||||
|
||||
- name: Print out the size of /nix/store
|
||||
run: du -sh /nix/store
|
||||
|
||||
check-formatting:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v16
|
||||
- run: nix shell nixpkgs#alejandra -c alejandra -c .
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install nix
|
||||
uses: cachix/install-nix-action@v16
|
||||
|
||||
- name: Check formatting (dont update)
|
||||
run: nix shell nixpkgs#alejandra -c alejandra -c .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue