Files
play-with-docker/.github/workflows/test.yml
Paul Jolly 0810809166 ci: add basic go tests to GitHub actions (#389)
We can add more extensive tests at a later date, but this is a good
start.
2020-06-18 11:31:49 -03:00

27 lines
557 B
YAML

on:
push:
branches:
- master
pull_request:
branches:
- '**'
name: Go
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
go_version: ["1.13.9", "1.14.1"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598
- name: Install Go
uses: actions/setup-go@9fbc767707c286e568c92927bbf57d76b73e0892
with:
go-version: ${{ matrix.go_version }}
- name: Test
run: go test ./...