mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
Rename build.yml to build-arch.yml and add different checks for each platform
Co-authored-by: squassina <8495707+squassina@users.noreply.github.com>
This commit is contained in:
parent
2c73142890
commit
8de9685457
3 changed files with 60 additions and 20 deletions
11
.github/workflows/build-nixos.yml
vendored
11
.github/workflows/build-nixos.yml
vendored
|
|
@ -46,6 +46,17 @@ jobs:
|
|||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
|
||||
- name: Check Nix flake
|
||||
run: |
|
||||
echo "Running nix flake check..."
|
||||
nix flake check --print-build-logs
|
||||
|
||||
- name: Check Nix formatting with alejandra
|
||||
run: |
|
||||
echo "Checking Nix code formatting..."
|
||||
nix fmt -- --check .
|
||||
echo "✅ Nix formatting check passed!"
|
||||
|
||||
- name: Build project with Nix
|
||||
run: |
|
||||
nix build --print-build-logs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue