Skip to content

kubehound-unit-tests #1516

kubehound-unit-tests

kubehound-unit-tests #1516

Workflow file for this run

name: kubehound-unit-tests
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: block
allowed-endpoints:
api.github.com:443
github.com:443
proxy.golang.org:443
golang.org:443
go.dev:443
storage.googleapis.com:443
*.docker.io:443
- name: Setup Golang
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: "1.23"
- name: Checkout Git Repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run Unit Tests
run: make test