Add github actions.
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
name: test
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: 'ubuntu-latest'
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 2
|
||||||
|
- uses: actions/setup-go@v3
|
||||||
|
with:
|
||||||
|
go-version: '1.19'
|
||||||
|
- run: go get -t -v ./...
|
||||||
|
- run: go test -race -coverprofile=coverage.out -covermode=atomic
|
||||||
|
- uses: codecov/codecov-action@v3
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
# melody
|
# melody
|
||||||
|
|
||||||
[](https://travis-ci.org/olahol/melody)
|

|
||||||
[](https://coveralls.io/r/olahol/melody)
|
|
||||||
[](https://godoc.org/github.com/olahol/melody)
|
[](https://godoc.org/github.com/olahol/melody)
|
||||||
|
|
||||||
> :notes: Minimalist websocket framework for Go.
|
> :notes: Minimalist websocket framework for Go.
|
||||||
|
|||||||
Reference in New Issue
Block a user