|
|
@ -33,7 +33,7 @@ jobs:
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
|
|
- name: Setup Kustomize
|
|
|
|
- name: Setup Kustomize
|
|
|
|
uses: fluxcd/pkg/actions/kustomize@11195c91e5e1898cfa5840267a7fd0aa462cd040 # main
|
|
|
|
uses: fluxcd/pkg/actions/kustomize@e40e7ed2bc31c6b6e36d263b6299e5082d9fef12 # main
|
|
|
|
- name: Setup Go
|
|
|
|
- name: Setup Go
|
|
|
|
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
|
|
|
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -54,7 +54,7 @@ jobs:
|
|
|
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
|
|
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
|
|
|
- name: Upload result to GitHub Code Scanning
|
|
|
|
- name: Upload result to GitHub Code Scanning
|
|
|
|
continue-on-error: true
|
|
|
|
continue-on-error: true
|
|
|
|
uses: github/codeql-action/upload-sarif@f0f3afee809481da311ca3a6ff1ff51d81dbeb24 # v3.26.4
|
|
|
|
uses: github/codeql-action/upload-sarif@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
sarif_file: snyk.sarif
|
|
|
|
sarif_file: snyk.sarif
|
|
|
|
|
|
|
|
|
|
|
@ -74,13 +74,13 @@ jobs:
|
|
|
|
**/go.sum
|
|
|
|
**/go.sum
|
|
|
|
**/go.mod
|
|
|
|
**/go.mod
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
- name: Initialize CodeQL
|
|
|
|
uses: github/codeql-action/init@f0f3afee809481da311ca3a6ff1ff51d81dbeb24 # v3.26.4
|
|
|
|
uses: github/codeql-action/init@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
languages: go
|
|
|
|
languages: go
|
|
|
|
# xref: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
|
|
# xref: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
|
|
# xref: https://codeql.github.com/codeql-query-help/go/
|
|
|
|
# xref: https://codeql.github.com/codeql-query-help/go/
|
|
|
|
queries: security-and-quality
|
|
|
|
queries: security-and-quality
|
|
|
|
- name: Autobuild
|
|
|
|
- name: Autobuild
|
|
|
|
uses: github/codeql-action/autobuild@f0f3afee809481da311ca3a6ff1ff51d81dbeb24 # v3.26.4
|
|
|
|
uses: github/codeql-action/autobuild@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
- name: Perform CodeQL Analysis
|
|
|
|
uses: github/codeql-action/analyze@f0f3afee809481da311ca3a6ff1ff51d81dbeb24 # v3.26.4
|
|
|
|
uses: github/codeql-action/analyze@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
|
|
|
|