File tree 4 files changed +5
-8
lines changed
4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 22
22
run : docker login -u "${{ inputs.hub_username }}" -p "${{ inputs.hub_password }}"
23
23
24
24
- name : Set up Go
25
- uses : actions/setup-go@v4
25
+ uses : actions/setup-go@v5
26
26
with :
27
- go-version : " stable"
27
+ go-version : stable
28
28
29
29
- name : Build and push Docker images
30
30
# Use commit hash here to avoid a re-tagging attack, as this is a third-party action
Original file line number Diff line number Diff line change 22
22
- name : Set up Go
23
23
uses : actions/setup-go@v5
24
24
with :
25
- go-version-file : src/github.com/nats-io/nats-server/go.mod
25
+ go-version : stable
26
26
cache-dependency-path : src/github.com/nats-io/nats-server/go.sum
27
27
28
28
- name : Run code coverage
Original file line number Diff line number Diff line change 24
24
- name : Install Go
25
25
uses : actions/setup-go@v5
26
26
with :
27
- # Use go version from go.mod
28
- go-version-file : " go.mod"
29
- # Use latest stable go version
30
- # go-version: stable
27
+ go-version : stable
31
28
32
29
- name : Run tests
33
30
run : go test -race -v -run='^TestLong.*' ./server -tags=include_js_long_tests -count=1 -vet=off -timeout=60m -shuffle on -p 1 -failfast
Original file line number Diff line number Diff line change 16
16
- name : Setup Go
17
17
uses : actions/setup-go@v5
18
18
with :
19
- go-version-file : src/github.com/nats-io/nats-server/go.mod
19
+ go-version : stable
20
20
cache-dependency-path : src/github.com/nats-io/nats-server/go.sum
21
21
22
22
- name : Set up testing tools and environment
You can’t perform that action at this time.
0 commit comments