Merge pull request #177 from jabdoa2/update_kubebuilder #251
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: Run tests | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
push: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.23' | |
cache-dependency-path: | | |
go.sum | |
go.sum | |
- name: Run Tests | |
run: | | |
export GOPATH=$(go env GOPATH):$(pwd) | |
make test |