Skip to content

Commit abfeee1

Browse files
authored
test(actions): fix 'Code quality checker' workflow.
1 parent ddf3719 commit abfeee1

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/code_quality_checker.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,19 @@ on:
44
branches: [ "master" ]
55
pull_request:
66
branches: [ "master" ]
7-
workflow_dispatch:
87
permissions:
98
contents: read
109
jobs:
11-
build:
10+
code-quality-checker:
1211
runs-on: ubuntu-latest
1312
steps:
1413
- name: Checkout code
1514
uses: actions/checkout@v4
1615
- name: Install Nix
1716
uses: DeterminateSystems/nix-installer-action@main
18-
nix-format:
19-
needs: build
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Check Nix file format
17+
- name: Check format of Nix files
2318
run: nix shell nixpkgs#alejandra --command alejandra -q -c .
19+
- name: Check format of Shell files
20+
run: nix shell nixpkgs#shfmt --command shfmt -d .
21+
- name: Check format of Lua files
22+
run: nix shell nixpkgs#stylua --command stylua -c .

0 commit comments

Comments
 (0)