File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Code quality checker
2+ on :
3+ push :
4+ branches : [ "master" ]
5+ pull_request :
6+ branches : [ "master" ]
7+ permissions :
8+ contents : read
9+ jobs :
10+ code-quality-checker :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+ - name : Install Nix
16+ uses : DeterminateSystems/nix-installer-action@main
17+ - name : Check format of shell files
18+ run : nix shell nixpkgs#shfmt --command shfmt -d .
Original file line number Diff line number Diff line change 1+ name : Secret scanner
2+ on :
3+ push :
4+ branches : [ "master" ]
5+ pull_request :
6+ branches : [ "master" ]
7+ permissions :
8+ contents : read
9+ jobs :
10+ secret-scanner :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+ - name : Install Nix
16+ uses : DeterminateSystems/nix-installer-action@main
17+ - name : Scan secrets
18+ run : |
19+ nix shell nixpkgs#gitleaks --command gitleaks git --no-banner --verbose
20+ nix shell nixpkgs#gitleaks --command gitleaks dir --no-banner --verbose
You can’t perform that action at this time.
0 commit comments