go-json/.github/workflows/go.yml

23 lines
527 B
YAML
Raw Normal View History

2020-04-26 06:11:35 +03:00
name: Go
on: [push, pull_request]
2020-04-26 06:11:35 +03:00
jobs:
build:
name: Test
strategy:
matrix:
2020-10-06 19:53:58 +03:00
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ]
go-version: [ "1.13", "1.14", "1.15" ]
2020-04-26 06:11:35 +03:00
runs-on: ${{ matrix.os }}
steps:
2020-10-06 19:53:58 +03:00
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v2
2020-04-26 06:11:35 +03:00
with:
2020-10-06 19:53:58 +03:00
go-version: ${{ matrix.go-version }}
2020-04-26 06:11:35 +03:00
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Test
run: go test -v ./