Skip to content

Commit

Permalink
Move to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
agnivade committed Sep 4, 2022
1 parent da28998 commit d81b582
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on: [push, pull_request]
name: CI
jobs:
test:
strategy:
matrix:
go-version: [1.18.x, 1.19.x]
os: [ubuntu-latest, macos-latest, windows-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: Lint
run: |
go vet .
gofmt -l -s -w .
- name: Test
run: go test -v
- name: Install
run: go install
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

0 comments on commit d81b582

Please sign in to comment.