Skip to content

Commit 2b76a2d

Browse files
Adds a build check in Github Actions CI workflow
This will help to verify the build for entrypoint using `disable_tls` and `disable_spire` flags Signed-off-by: PuneetPunamiya <[email protected]>
1 parent 6611ef3 commit 2b76a2d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: .github/workflows/ci.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ jobs:
2626
- name: build
2727
run: |
2828
go build -v ./...
29+
buildWithTlsAndSpire:
30+
name: buildWithTlsAndSpire
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
34+
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
35+
with:
36+
go-version-file: "go.mod"
37+
- name: build
38+
run: |
39+
go build -tags "disable_spire,disable_tls" ./cmd/entrypoint
2940
linting:
3041
needs: [build]
3142
name: lint

0 commit comments

Comments
 (0)