Skip to content

Apply GitHub workflow changes #96

Apply GitHub workflow changes

Apply GitHub workflow changes #96

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
- v3-major-release
pull_request:
branches:
- main
- v3-major-release
paths:
- 'kubernetes/*.go'
workflow_dispatch:
jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
- name: Run unit tests
env:
TESTARGS: -count 1
run: |
make test