Skip to content

Commit

Permalink
Use consistent indentation in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Nov 10, 2024
1 parent 89a2a05 commit fe01ad7
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' && (success() || failure()) }}
run:
kosli attest junit
--name=runner.rubocop-lint
--results-dir=./reports/rubocop
--name=runner.rubocop-lint
--results-dir=./reports/rubocop


snyk-code-scan:
Expand Down Expand Up @@ -251,7 +251,7 @@ jobs:
- name: Get unit test coverage
id: coverage
run:
make coverage_server
make coverage_server

- name: Setup Kosli CLI
if: ${{ github.ref == 'refs/heads/main' && (success() || failure()) }}
Expand All @@ -265,8 +265,8 @@ jobs:
KOSLI_FINGERPRINT: ${{ needs.build-image.outputs.artifact_digest }}
run:
kosli attest junit
--name=runner.unit-test
--results-dir=./reports/server/junit
--name=runner.unit-test
--results-dir=./reports/server/junit

- name: Attest coverage evidence to Kosli
if: ${{ github.ref == 'refs/heads/main' && (success() || failure()) }}
Expand All @@ -275,9 +275,9 @@ jobs:
run: |
KOSLI_COMPLIANT=$([ "${{ steps.coverage.outcome }}" == 'success' ] && echo true || echo false)
kosli attest generic \
--description="unit-test branch-coverage and metrics" \
--name=runner.unit-test-branch-coverage \
--user-data="./reports/server/coverage_metrics.json"
--description="unit-test branch-coverage and metrics" \
--name=runner.unit-test-branch-coverage \
--user-data="./reports/server/coverage_metrics.json"
integration-tests:
Expand Down Expand Up @@ -319,8 +319,8 @@ jobs:
KOSLI_FINGERPRINT: ${{ needs.build-image.outputs.artifact_digest }}
run:
kosli attest junit
--name=runner.integration-test
--results-dir=./reports/client/junit
--name=runner.integration-test
--results-dir=./reports/client/junit

- name: Attest coverage evidence to Kosli
if: ${{ github.ref == 'refs/heads/main' && (success() || failure()) }}
Expand All @@ -329,9 +329,9 @@ jobs:
run: |
KOSLI_COMPLIANT=$([ "${{ steps.coverage.outcome }}" == 'success' ] && echo true || echo false)
kosli attest generic \
--description="integration-test branch-coverage and metrics" \
--name=runner.integration-test-branch-coverage \
--user-data="./reports/client/coverage_metrics.json"
--description="integration-test branch-coverage and metrics" \
--name=runner.integration-test-branch-coverage \
--user-data="./reports/client/coverage_metrics.json"
snyk-container-scan:
Expand Down

0 comments on commit fe01ad7

Please sign in to comment.