Skip to content

Add Trivy nightly scan #689

Add Trivy nightly scan

Add Trivy nightly scan #689

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
test:
name: Unit Tests & Code Quality
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit
- name: Check out code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
- name: Unit Tests
run: make test-unit