Re-enable CI using github actions
knz opened this issue · comments
Raphael 'kena' Poss commented
@rail explains
place the following content in .github/workflows/ci.yaml
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
go:
- "1.13"
- "1.14"
- "1.15"
- "1.16"
steps:
- uses: actions/checkout@v2
- name: Set up Go (${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Build (${{ matrix.go }})
run: go build ./...
- name: Test (${{ matrix.go }})
run: go test ./...
Raphael 'kena' Poss commented