11
.github/workflows/make.yaml
vendored
11
.github/workflows/make.yaml
vendored
@@ -69,8 +69,7 @@ jobs:
|
|||||||
- run: "make build"
|
- run: "make build"
|
||||||
- run: "make test"
|
- run: "make test"
|
||||||
- run: "make coverage-report"
|
- run: "make coverage-report"
|
||||||
- name: "Upload coverage reports"
|
- uses: "actions/upload-artifact@v4"
|
||||||
uses: "actions/upload-artifact@v4"
|
|
||||||
with:
|
with:
|
||||||
name: "coverage-reports"
|
name: "coverage-reports"
|
||||||
path: |
|
path: |
|
||||||
@@ -78,19 +77,17 @@ jobs:
|
|||||||
coverage.html
|
coverage.html
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
- run: "make lint"
|
- run: "make lint"
|
||||||
- name: Generate SBOM
|
- uses: anchore/sbom-action@da167eac915b4e86f08b264dbdbc867b61be6f0c #v0.20.5
|
||||||
uses: anchore/sbom-action@da167eac915b4e86f08b264dbdbc867b61be6f0c #v0.20.5
|
|
||||||
with:
|
with:
|
||||||
path: ./
|
path: ./
|
||||||
format: cyclonedx-json
|
format: cyclonedx-json
|
||||||
output-file: sbom.json
|
output-file: sbom.json
|
||||||
|
- uses: anchore/scan-action@1638637db639e0ade3258b51db49a9a137574c3e #v6.5.1
|
||||||
- name: Run vulnerability scan
|
|
||||||
uses: anchore/scan-action@1638637db639e0ade3258b51db49a9a137574c3e #v6.5.1
|
|
||||||
with:
|
with:
|
||||||
path: ./
|
path: ./
|
||||||
fail-build: true
|
fail-build: true
|
||||||
severity-cutoff: critical
|
severity-cutoff: critical
|
||||||
|
output-format: table
|
||||||
|
|
||||||
test-e2e:
|
test-e2e:
|
||||||
name: "test-e2e"
|
name: "test-e2e"
|
||||||
|
|||||||
Reference in New Issue
Block a user