Skip to content

Commit

Permalink
Merge pull request #72 from mvdan/ci-actions
Browse files Browse the repository at this point in the history
CI: switch from Travis to Actions
  • Loading branch information
warpfork authored Sep 5, 2020
2 parents 09fc5cd + 2d36132 commit 0d08642
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 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: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.14.x, 1.15.x]
# TODO(mvdan): fix and enable windows
# os: [ubuntu-latest, macos-latest, windows-latest]
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 ./...
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit 0d08642

Please sign in to comment.