File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 10
10
test :
11
11
name : Run Tests
12
12
runs-on : ubuntu-20.04
13
- strategy :
14
- matrix :
15
- go : [ '1.22.x', '1.21.x' ]
16
13
services :
17
14
redis :
18
15
image : redis
@@ -25,10 +22,10 @@ jobs:
25
22
- 6379:6379
26
23
27
24
steps :
28
- - name : Install Go ${{ matrix.go }}
25
+ - name : Install Go
29
26
uses : actions/setup-go@v2
30
27
with :
31
- go-version : ${{ matrix.go }}
28
+ go-version : 1.22.x
32
29
- name : Checkout
33
30
uses : actions/checkout@v2
34
31
- name : Cache Modules
41
38
- name : Run tests
42
39
run : go test -p 1 -v ./...
43
40
env :
44
- POSTGRES_URL : redis://localhost:6379/0
41
+ REDIS_URL : redis://localhost:6379/0
42
+
43
+ release :
44
+ needs : test
45
+ if : github.ref == 'refs/heads/master'
46
+ uses : upfluence/actions/.github/workflows/lib-any-release.yml@master
47
+ secrets : inherit
You can’t perform that action at this time.
0 commit comments