Skip to content

Commit b6a25a2

Browse files
committed
Compile buildpack in GHA
1 parent b744432 commit b6a25a2

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/release.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,21 @@ jobs:
1919
registry: docker.io
2020
username: ${{ secrets.DOCKER_HUB_USER }}
2121
password: ${{ secrets.DOCKER_HUB_PASS }}
22+
- uses: actions/setup-go@v2
23+
with:
24+
go-version: '^1.12.1'
2225
- id: setup-pack
2326
name: Install Pack
2427
uses: buildpacks/github-actions/[email protected]
28+
- id: compile
29+
name: Compile Buildpack
30+
run: |
31+
#!/usr/bin/env bash
32+
set -euo pipefail
33+
make build
34+
make test
2535
- id: package
26-
name: Create and Publish Buildpackage
36+
name: Package Buildpack
2737
run: |
2838
#!/usr/bin/env bash
2939
set -euo pipefail

0 commit comments

Comments
 (0)