File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -147,16 +147,15 @@ jobs:
147
147
conformance-tests :
148
148
name : Gateway Conformance Tests
149
149
runs-on : ubuntu-22.04
150
- needs : [ vars, binary]
150
+ needs : vars
151
151
steps :
152
152
- name : Checkout Repository
153
153
uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
154
154
155
- - name : Fetch Cached Artifacts
156
- uses : actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3 .1
155
+ - name : Setup Golang Environment
156
+ uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0 .1
157
157
with :
158
- path : ${{ github.workspace }}/dist
159
- key : nginx-kubernetes-gateway-${{ github.run_id }}-${{ github.run_number }}
158
+ go-version-file : go.mod
160
159
161
160
- name : Docker Buildx
162
161
uses : docker/setup-buildx-action@ecf95283f03858871ff00b787d79c419715afc34 # v2.7.0
@@ -179,6 +178,14 @@ jobs:
179
178
nkg_tag=$(echo ${{ steps.meta.outputs.tags }} | cut -d ":" -f 2)
180
179
make update-nkg-manifest NKG_PREFIX=${nkg_prefix} NKG_TAG=${nkg_tag}
181
180
working-directory : ./conformance
181
+
182
+ - name : Build binary
183
+ uses : goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0
184
+ with :
185
+ version : latest
186
+ args : ${{ startsWith(github.ref, 'refs/tags/') && 'release' || 'build --snapshot' }} --clean
187
+ env :
188
+ GOPATH : ${{ needs.vars.outputs.go_path }}
182
189
183
190
- name : Build Docker Image
184
191
uses : docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 # v4.1.1
You can’t perform that action at this time.
0 commit comments