From 1be70914b95e5466501c2795f5e6fa799b70e865 Mon Sep 17 00:00:00 2001 From: Amadej Kastelic Date: Sat, 21 Sep 2024 11:11:05 +0200 Subject: [PATCH] Workflow --- .github/workflows/lint.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b1e319a..bdadb3d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,15 +1,19 @@ -name: lint +name: nix on: [push, pull_request, workflow_dispatch] jobs: - lint: - name: lint + nix: + name: checks runs-on: ubuntu-latest steps: - name: Check out source repository uses: actions/checkout@v3 + - name: Set up Alejandra + uses: luisnquin/setup-alejandra@v1.0.0 + - name: Check formatting + run: alejandra --check . - name: Install nix action uses: cachix/install-nix-action@v20 with: @@ -20,7 +24,3 @@ jobs: experimental-features = nix-command flakes - name: Flake check run: nix flake check - - name: Set up Alejandra - uses: luisnquin/setup-alejandra@v1.0.0 - - name: Check formatting - run: alejandra --check */**/*.nix