bootstrapping the CI

This commit is contained in:
Andrey Pohilko
2022-08-22 17:41:45 +03:00
parent a654a2fa32
commit 3a11b78f51
3 changed files with 28 additions and 13 deletions

View File

@@ -7,23 +7,11 @@ on:
branches: [ "main" ]
jobs:
test:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: "fs"
ignore-unfixed: true
format: "sarif"
output: "trivy-results.sarif"
severity: "CRITICAL"
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: "trivy-results.sarif"
- name: Set up Go
uses: actions/setup-go@v3
with: