We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2cdce1 commit 6e00245Copy full SHA for 6e00245
.github/workflows/test.yaml
@@ -0,0 +1,34 @@
1
+name: Test
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ unit:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - uses: actions/setup-go@v5
12
+ with:
13
+ go-version: '1.22'
14
+ - run: go mod download
15
+ - run: go test ./...
16
17
+ chart:
18
19
+ strategy:
20
+ matrix:
21
+ k8s_version:
22
+ - 1.29.5
23
+ - 1.30.0
24
+ - 1.30.1
25
26
27
+ - name: Check out the repo
28
+ uses: actions/checkout@v4
29
+ - uses: azure/setup-helm@v4
30
+ - run: helm template prompage chart/ > templated.yaml
31
+ - uses: docker://ghcr.io/yannh/kubeconform:latest
32
33
+ entrypoint: '/kubeconform'
34
+ args: '-summary -output json --kubernetes-version ${{ matrix.k8s_version }} templated.yaml'
0 commit comments