Skip to content

Commit bc05aaf

Browse files
authored
Merge pull request nsqio#35 from ploxiln/github_actions_fixup
GitHub Actions fixups, README badges update
2 parents a14d574 + 31c9997 commit bc05aaf

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- "amd64"
2222
- "386"
2323

24-
container: "golang:${{matrix.gover}}-alpine"
24+
container: "golang:${{matrix.gover}}"
2525
env:
2626
GOARCH: "${{matrix.goarch}}"
2727

@@ -30,8 +30,12 @@ jobs:
3030

3131
- name: test
3232
run: |
33-
GOMAXPROCS=1 go test -v
34-
GOMAXPROCS=4 go test -v -race
33+
go test -list Test
34+
GOMAXPROCS=1 go test
35+
if [ "$GOARCH" = "amd64" ]; then
36+
echo "With -race:"
37+
GOMAXPROCS=4 go test -race
38+
fi
3539
3640
- name: lint
3741
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# go-diskqueue
22

3-
[![Build Status](https://secure.travis-ci.org/nsqio/go-diskqueue.png?branch=master)](http://travis-ci.org/nsqio/go-diskqueue) [![GoDoc](https://godoc.org/github.com/nsqio/go-diskqueue?status.svg)](https://godoc.org/github.com/nsqio/go-diskqueue) [![GitHub release](https://img.shields.io/github/release/nsqio/go-diskqueue.svg)](https://github.com/nsqio/go-diskqueue/releases/latest)
3+
[![Build Status](https://github.com/nsqio/go-diskqueue/workflows/tests/badge.svg)](https://github.com/nsqio/go-diskqueue/actions) [![Go Reference](https://pkg.go.dev/badge/github.com/nsqio/go-diskqueue.svg)](https://pkg.go.dev/github.com/nsqio/go-diskqueue) [![GitHub release](https://img.shields.io/github/release/nsqio/go-diskqueue.svg)](https://github.com/nsqio/go-diskqueue/releases/latest)
44

55
A Go package providing a filesystem-backed FIFO queue
66

0 commit comments

Comments
 (0)