Skip to content

Commit ac2e36a

Browse files
author
student
committed
test2
1 parent da9f3f2 commit ac2e36a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/deploy.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,19 @@ jobs:
2828

2929
# TODO 01 - Add a step to run tests
3030
- name: Run tests
31-
run: #TODO
31+
run: go test./...
3232

3333
compile:
34-
[...]
3534
# TODO 02 - Make sure that the `test` job is run before `compile`
35+
runs-on: ubuntu-latest
36+
steps:
37+
- name: Checkout code
38+
uses: actions/checkout@v4
39+
40+
- name: Set up Go
41+
uses: actions/setup-go@v5
42+
with:
43+
go-version: '1.22'
44+
45+
- name: Build binary
46+
run: go build -o app

0 commit comments

Comments
 (0)