chore(ci): add linting, formatting check, and auditing
This commit is contained in:
@@ -40,9 +40,21 @@ jobs:
|
|||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
skipPush: ${{ github.event_name == 'pull_request' }}
|
skipPush: ${{ github.event_name == 'pull_request' }}
|
||||||
|
|
||||||
|
- name: Format Check
|
||||||
|
shell: bash -c "nix develop --no-pure-eval --accept-flake-config --command {0}"
|
||||||
|
run: just format-check
|
||||||
|
|
||||||
|
- name: Audit
|
||||||
|
shell: bash -c "nix develop --no-pure-eval --accept-flake-config --command {0}"
|
||||||
|
run: just audit
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
shell: bash -c "nix develop --no-pure-eval --accept-flake-config --command {0}"
|
||||||
|
run: just lint-report
|
||||||
|
|
||||||
- name: Coverage
|
- name: Coverage
|
||||||
run: |
|
shell: bash -c "nix develop --no-pure-eval --accept-flake-config --command {0}"
|
||||||
nix develop --no-pure-eval --accept-flake-config --command just coverage
|
run: just coverage-ci
|
||||||
|
|
||||||
- name: Sonar analysis
|
- name: Sonar analysis
|
||||||
uses: SonarSource/sonarqube-scan-action@v6
|
uses: SonarSource/sonarqube-scan-action@v6
|
||||||
|
|||||||
Reference in New Issue
Block a user