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 0fc9ef0 commit 3f11ef1Copy full SHA for 3f11ef1
.github/workflows/tests.yml
@@ -0,0 +1,33 @@
1
+name: Go
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ strategy:
9
+ fail-fast: false
10
+ matrix:
11
+ go-version: [1.24.x]
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - name: Setup Go
17
+ uses: actions/setup-go@v5
18
+ with:
19
+ go-version: '1.24.x'
20
21
+ - name: Display Go version
22
+ run: go version
23
24
+ - name: Install dependencies
25
+ run: go mod tidy
26
27
+ - name: Run local server
28
+ run: |
29
+ CGO_ENABLED=0 GOOS=linux go run main.go &
30
+ sleep 100
31
+ go test -run ^TestApp$ ./tests
32
33
0 commit comments