File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
9
9
jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v4
15
+ with :
16
+ fetch-depth : 0
17
+
18
+ - name : Set up Go
19
+ uses : actions/setup-go@v5
20
+ with :
21
+ go-version : ' 1.23.4'
22
+
23
+ - name : Run Tests
24
+ run : go test -v ./...
25
+
10
26
goreleaser :
27
+ needs : test
11
28
runs-on : ubuntu-latest
12
29
steps :
13
30
- name : Checkout
33
50
version : latest
34
51
env :
35
52
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
+
36
54
docker :
55
+ needs : test
37
56
runs-on : ubuntu-latest
38
57
steps :
58
+ - name : Checkout
59
+ uses : actions/checkout@v4
60
+
61
+ - name : Set up Docker Buildx
62
+ uses : docker/setup-buildx-action@v3
63
+ with :
64
+ driver : docker-container
65
+
39
66
- name : Log in to GitHub Container Registry
40
67
uses : docker/login-action@v3
41
68
with :
You can’t perform that action at this time.
0 commit comments