Add CE_UMH_CORE_PATTERN edge (#209) #1359
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@8ca2b8b2ece13480cda6dacd3511b49857a23c09 | |
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@93397bea11091df50f3d7e59dc26a7711a8bcfbe | |
with: | |
go-version: "1.22" | |
- name: Checkout Git Repo | |
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab | |
- name: Run Unit Tests | |
run: make test |