Skip to content
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #23 from ragon000/pr-workflow
Browse files Browse the repository at this point in the history
added pull request workflow
  • Loading branch information
nzbr authored Oct 25, 2019
2 parents e81405a + c713bc6 commit b338e78
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pull Request
on: [pull_request]
jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Build
run: go build -v cmd/wtfd.go

- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...

0 comments on commit b338e78

Please # to comment.