-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ inputs: | |
golang-unit-tests-exclusions: | ||
description: | | ||
The Golang paths that should be excluded from unit testing. | ||
default: ' ' | ||
default: " " | ||
golangci-lint-version: | ||
description: | | ||
The Golangci-lint version that has to be installed and used. | ||
|
@@ -15,16 +15,16 @@ inputs: | |
golang-number-of-tests-in-parallel: | ||
description: | | ||
Number of test in parallel. | ||
default: '4' | ||
default: "4" | ||
runs: | ||
using: 'composite' | ||
using: "composite" | ||
steps: | ||
# | ||
# Install the golang version that has been defined in the go.mod file. | ||
# | ||
- uses: actions/[email protected] | ||
with: | ||
go-version-file: 'go.mod' | ||
go-version-file: "go.mod" | ||
cache: false | ||
# | ||
# Verify downloaded dependencies. | ||
|
@@ -51,14 +51,20 @@ runs: | |
# | ||
# Code security scanning. | ||
# | ||
- uses: anchore/[email protected] | ||
with: | ||
only-fixed: false | ||
output-format: table | ||
path: "." | ||
severity-cutoff: high | ||
- uses: 030/[email protected] | ||
- uses: aquasecurity/[email protected] | ||
with: | ||
scan-type: 'fs' | ||
scan-ref: '.' | ||
exit-code: '1' | ||
scan-type: "fs" | ||
scan-ref: "." | ||
exit-code: "1" | ||
ignore-unfixed: true | ||
severity: 'CRITICAL,HIGH' | ||
severity: "CRITICAL,HIGH" | ||
trivyignores: .trivyignore | ||
# | ||
# Run golangci-lint. | ||
|