Skip to content

Commit 492d2f4

Browse files
authored
Merge pull request #33 from shogo82148/hello-github-action
Hello GitHub Action
2 parents 23978e4 + 918310e commit 492d2f4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/go.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Go
2+
on: [push, pull_request]
3+
jobs:
4+
5+
test:
6+
name: Test
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
go: [ '1.11', '1.12' ]
11+
12+
steps:
13+
14+
- name: Set up Go ${{ matrix.go }}
15+
uses: actions/setup-go@v1
16+
with:
17+
go-version: ${{ matrix.go }}
18+
id: go
19+
20+
- name: Check out code into the Go module directory
21+
uses: actions/checkout@v1
22+
23+
- name: Test
24+
run: go test -v .

0 commit comments

Comments
 (0)