Skip to content

Commit

Permalink
chore(ci): switch CI from travis to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mroth committed Jun 25, 2022
1 parent 2097578 commit bbd5ae6
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 36 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test
on: push

jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- "macos-12"
- "macos-11"
- "macos-10.15"
- "ubuntu-22.04"
- "ubuntu-20.04"
- "ubuntu-18.04"
go: ["1.18"]
name: ${{ matrix.os }} test
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Run test
run: |
if [ "$(uname)" == "Linux" ]; then
sudo go test -v
else
go test -v
fi
36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

0 comments on commit bbd5ae6

Please sign in to comment.