Skip to content

Test for Web-hooks and converting the top-level Instance Spec fields to pointers #887

Test for Web-hooks and converting the top-level Instance Spec fields to pointers

Test for Web-hooks and converting the top-level Instance Spec fields to pointers #887

Workflow file for this run

name: Test Build
on:
push:
pull_request:
jobs:
build-binary:
runs-on: ubuntu-latest
steps:
- run: echo "πŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "^1.20"
- name: Test build
run: make test build
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.11.2
with:
scan-type: "fs"
ignore-unfixed: true
format: "table"
exit-code: "1"
vuln-type: "os,library"
severity: "CRITICAL,HIGH"
build-container:
runs-on: ubuntu-latest
steps:
- run: echo "πŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Checkout
uses: actions/checkout@v3
- name: Build container image
env:
IMAGE_TAG_BASE: ${{ github.repository }}_build_container_test
run: make docker-build