Skip to content

Commit

Permalink
Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amadejkastelic committed Sep 21, 2024
1 parent 1665144 commit 1be7091
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
- name: Check formatting
run: alejandra --check .
- name: Install nix action
uses: cachix/install-nix-action@v20
with:
Expand All @@ -20,7 +24,3 @@ jobs:
experimental-features = nix-command flakes
- name: Flake check
run: nix flake check
- name: Set up Alejandra
uses: luisnquin/[email protected]
- name: Check formatting
run: alejandra --check */**/*.nix

0 comments on commit 1be7091

Please sign in to comment.