Commit abfeee1 1 parent ddf3719 commit abfeee1 Copy full SHA for abfeee1
File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 4
4
branches : [ "master" ]
5
5
pull_request :
6
6
branches : [ "master" ]
7
- workflow_dispatch :
8
7
permissions :
9
8
contents : read
10
9
jobs :
11
- build :
10
+ code-quality-checker :
12
11
runs-on : ubuntu-latest
13
12
steps :
14
13
- name : Checkout code
15
14
uses : actions/checkout@v4
16
15
- name : Install Nix
17
16
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
23
18
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 .
You can’t perform that action at this time.
0 commit comments