Skip to content

ci: Enhance the GHA #16

ci: Enhance the GHA

ci: Enhance the GHA #16

name: PodDefaults Unit Tests
on:
pull_request:
paths:
- components/admission-webhook/**
- releasing/version/VERSION
- .github/workflows/poddefaults_unit_test.yaml
branches:
- main
- v*-branch
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.20"
check-latest: true
- name: Run unit tests
run: |
cd components/admission-webhook
make test