Skip to content

Commit

Permalink
migrate travis ci to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ohsawa0515 committed May 3, 2021
1 parent 34277cc commit 17ea120
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on: [pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.15.x, 1.16.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: |
go test ./... -v
go test -race ./... -v
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 17ea120

Please sign in to comment.