mirror of
https://github.com/appleboy/drone-discord.git
synced 2026-06-04 18:33:47 +08:00
ci(actions): bump trivy-action to v0.36.0 and codecov-action to v6
This commit is contained in:
@@ -76,7 +76,7 @@ jobs:
|
|||||||
tags: drone-discord:scan
|
tags: drone-discord:scan
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
uses: aquasecurity/trivy-action@v0.35.0
|
uses: aquasecurity/trivy-action@v0.36.0
|
||||||
with:
|
with:
|
||||||
image-ref: "drone-discord:scan"
|
image-ref: "drone-discord:scan"
|
||||||
format: "sarif"
|
format: "sarif"
|
||||||
|
|||||||
@@ -67,6 +67,6 @@ jobs:
|
|||||||
go test -v -covermode=atomic -coverprofile=coverage.out
|
go test -v -covermode=atomic -coverprofile=coverage.out
|
||||||
|
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v6
|
||||||
with:
|
with:
|
||||||
flags: ${{ matrix.os }},go-${{ matrix.go }}
|
flags: ${{ matrix.os }},go-${{ matrix.go }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner (repo)
|
- name: Run Trivy vulnerability scanner (repo)
|
||||||
uses: aquasecurity/trivy-action@v0.35.0
|
uses: aquasecurity/trivy-action@v0.36.0
|
||||||
with:
|
with:
|
||||||
scan-type: "fs"
|
scan-type: "fs"
|
||||||
scan-ref: "."
|
scan-ref: "."
|
||||||
@@ -69,7 +69,7 @@ jobs:
|
|||||||
tags: drone-discord:scan
|
tags: drone-discord:scan
|
||||||
|
|
||||||
- name: Run Trivy vulnerability scanner (image)
|
- name: Run Trivy vulnerability scanner (image)
|
||||||
uses: aquasecurity/trivy-action@v0.35.0
|
uses: aquasecurity/trivy-action@v0.36.0
|
||||||
with:
|
with:
|
||||||
image-ref: "drone-discord:scan"
|
image-ref: "drone-discord:scan"
|
||||||
format: "sarif"
|
format: "sarif"
|
||||||
|
|||||||
Reference in New Issue
Block a user