Skip to content

restrict manager resource cache based on namespaces from environment #29

restrict manager resource cache based on namespaces from environment

restrict manager resource cache based on namespaces from environment #29

Workflow file for this run

name: Unit Tests
on:
pull_request:
paths-ignore:
- 'vendor/*'
branches:
- main
- release-*
# cancel the in-progress workflow when PR is refreshed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
permissions:
contents: read
jobs:
unittests:
name: unittests
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: setup go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: run unit tests
run: make test