Update and rename go.yml to go-test.yml
This commit is contained in:
21
.github/workflows/go-test.yml
vendored
Normal file
21
.github/workflows/go-test.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Go Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.15
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
Reference in New Issue
Block a user