Helm release v1.13.0 (#779) #4
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: unit-test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: unit-test | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: setup go 1.20 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.20.*' | |
id: go | |
- name: setup kubebuilder | |
run: | | |
arch=$(go env GOARCH) | |
os=$(go env GOOS) | |
version="2.3.1" | |
curl -L https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_${os}_${arch}.tar.gz | tar -xz -C /tmp/ | |
sudo mv /tmp/kubebuilder_${version}_${os}_${arch} /usr/local/kubebuilder | |
export PATH=$PATH:/usr/local/kubebuilder/bin | |
- name: checkout code | |
uses: actions/checkout@v2 | |
- name: unit tests | |
run: make test | |
- name: helm v2 and v3 lint | |
run: make helm-lint |