Skip to content

Commit

Permalink
Merge pull request #33 from shogo82148/hello-github-action
Browse files Browse the repository at this point in the history
Hello GitHub Action
  • Loading branch information
shogo82148 authored Aug 29, 2019
2 parents 23978e4 + 918310e commit 492d2f4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Go
on: [push, pull_request]
jobs:

test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.11', '1.12' ]

steps:

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
id: go

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

- name: Test
run: go test -v .

0 comments on commit 492d2f4

Please sign in to comment.