-
Notifications
You must be signed in to change notification settings - Fork 32
40 lines (35 loc) · 894 Bytes
/
go.yml
File metadata and controls
40 lines (35 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: go
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build:
name: test (helm ${{ matrix.helm-version }})
runs-on: ubuntu-latest
strategy:
matrix:
helm-version:
- v3.20.0
- v4.1.0
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
- name: Install Helm
uses: azure/setup-helm@v4.3.1
with:
version: ${{ matrix.helm-version }}
- name: Install Kustomize
uses: syntaqx/setup-kustomize@v1
with:
kustomize-version: 5.8.0
- name: Test
run: |
helm version
helm repo add stable https://charts.helm.sh/stable
CGO_ENABLED=0 go test ./...