We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfe9c3e commit 7653eb3Copy full SHA for 7653eb3
.github/workflows/pr-ci.yml
@@ -120,14 +120,11 @@ jobs:
120
- uses: actions/checkout@v4
121
- name: Build
122
working-directory: templates/go
123
- run: go build -v ./...
124
- - name: Vet
125
- working-directory: templates/go
126
- run: go vet ./...
+ run: go build -o service main.go
127
- name: Run & health
128
129
run: |
130
- go run . &
+ ./service &
131
PID=$!
132
sleep 2
133
curl -f http://127.0.0.1:3002/health || (echo 'no health'; kill $PID; exit 1)
0 commit comments