Skip to content

Bump sigs.k8s.io/cluster-api/test from 1.6.0 to 1.6.3 #411

Bump sigs.k8s.io/cluster-api/test from 1.6.0 to 1.6.3

Bump sigs.k8s.io/cluster-api/test from 1.6.0 to 1.6.3 #411

Workflow file for this run

name: Test Build
on:
push:
pull_request:
jobs:
build-container:
runs-on: ubuntu-latest
env:
EXPORT_RESULT: true
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@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "^1.21"
- name: Test build
run: go build
- name: Run unit tests
run: make unit-test
- name: Run coverage report
run: make coverage
- name: Codecov
uses: codecov/codecov-action@v3.1.4
with:
file: ./coverage.xml # Replace with the path to your coverage report
fail_ci_if_error: true
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.12.0
with:
scan-type: "fs"
ignore-unfixed: true
format: "table"
exit-code: "1"
vuln-type: "os,library"
severity: "CRITICAL,HIGH"