File tree 1 file changed +5
-20
lines changed
1 file changed +5
-20
lines changed Original file line number Diff line number Diff line change 5
5
branches : [main]
6
6
pull_request :
7
7
8
-
9
-
10
8
jobs :
11
9
test :
12
10
runs-on : ubuntu-latest
13
11
strategy :
14
12
matrix :
15
- go-version : [ ' 1.22.x' ]
13
+ go-version : [" 1.22.x" ]
16
14
17
15
services :
18
16
postgres :
19
17
image : postgres
20
18
env :
21
- POSTGRES_PASSWORD : local
22
- POSTGRES_USER : local
23
- POSTGRES_DB : local
19
+ POSTGRES_PASSWORD : local
20
+ POSTGRES_USER : local
21
+ POSTGRES_DB : local
24
22
options : >-
25
23
--health-cmd pg_isready
26
24
--health-interval 10s
46
44
restore-keys : |
47
45
${{ runner.os }}-go-
48
46
49
- - name : Run Tests
47
+ - name : Run Tests
50
48
run : go test -v ./...
51
-
52
- lint :
53
- name : lint
54
- runs-on : ubuntu-latest
55
- steps :
56
- - uses : actions/checkout@v4
57
- - uses : actions/setup-go@v5
58
- with :
59
- go-version : stable
60
- - name : golangci-lint
61
- uses : golangci/golangci-lint-action@v6
62
- with :
63
- version : v1.58
You can’t perform that action at this time.
0 commit comments