Skip to content

Replace Travis-CI with GitHub Actions #2

Replace Travis-CI with GitHub Actions

Replace Travis-CI with GitHub Actions #2

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
name: test
jobs:
test:
strategy:
matrix:
go-version: [1.21.x, 1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: test
run: go test -v ./...