File tree Expand file tree Collapse file tree 3 files changed +3
-25
lines changed Expand file tree Collapse file tree 3 files changed +3
-25
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - main
77 - release-*
8- workflow_dispatch : {}
9-
10- env :
11- # Common versions
12- GO_REQUIRED_MIN_VERSION : ' '
13- GOPATH : ' /home/runner/work/governance-policy-framework-addon/governance-policy-framework-addon/go'
14- defaults :
15- run :
16- working-directory : go/src/open-cluster-management.io/governance-policy-framework-addon
178
189jobs :
1910 verify :
@@ -22,13 +13,10 @@ jobs:
2213 steps :
2314 - name : checkout code
2415 uses : actions/checkout@v4
25- with :
26- fetch-depth : 1
27- path : go/src/open-cluster-management.io/governance-policy-framework-addon
2816 - name : install Go
2917 uses : actions/setup-go@v5
3018 with :
31- go-version-file : go/src/open-cluster-management.io/governance-policy-framework-addon/go .mod
19+ go-version-file : go.mod
3220 - name : images
3321 run : make build-images
3422 - name : push
Original file line number Diff line number Diff line change 88
99env :
1010 TAG : ${{ github.ref_name }}
11- defaults :
12- run :
13- working-directory : go/src/open-cluster-management.io/governance-policy-framework-addon
1411
1512jobs :
1613 release :
@@ -19,13 +16,10 @@ jobs:
1916 steps :
2017 - name : checkout code
2118 uses : actions/checkout@v4
22- with :
23- fetch-depth : 1
24- path : go/src/open-cluster-management.io/governance-policy-framework-addon
2519 - name : install Go
2620 uses : actions/setup-go@v5
2721 with :
28- go-version-file : go/src/open-cluster-management.io/governance-policy-framework-addon/go .mod
22+ go-version-file : go.mod
2923 - name : build images
3024 run : |
3125 make build-images
Original file line number Diff line number Diff line change 1313defaults :
1414 run :
1515 shell : bash
16- working-directory : governance-policy-framework-addon
1716
1817jobs :
1918 kind-tests :
@@ -34,14 +33,11 @@ jobs:
3433 steps :
3534 - name : Checkout Governance Policy Framework Addon
3635 uses : actions/checkout@v4
37- with :
38- path : governance-policy-framework-addon
39- fetch-depth : 0 # Fetch all history for all tags and branches
4036
4137 - name : Set up Go
4238 uses : actions/setup-go@v5
4339 with :
44- go-version-file : governance-policy-framework-addon/ go.mod
40+ go-version-file : go.mod
4541
4642 - name : Verify modules
4743 run : |
You can’t perform that action at this time.
0 commit comments