...
1on: [push, pull_request]
2name: Test
3jobs:
4 test:
5 strategy:
6 matrix:
7 go-version: [1.14.x, 1.15.x]
8 os: [ubuntu-latest, macos-latest, windows-latest]
9 runs-on: ${{ matrix.os }}
10 steps:
11 - name: Install Go
12 uses: actions/setup-go@v2
13 with:
14 go-version: ${{ matrix.go-version }}
15 - name: Checkout code
16 uses: actions/checkout@v2
17 - name: Test
18 run: go test ./...
19
20# Copyright (c) 2019, Daniel MartÃ. All rights reserved.
21#
22# Redistribution and use in source and binary forms, with or without
23# modification, are permitted provided that the following conditions are
24# met:
25#
26# * Redistributions of source code must retain the above copyright
27# notice, this list of conditions and the following disclaimer.
28# * Redistributions in binary form must reproduce the above
29# copyright notice, this list of conditions and the following disclaimer
30# in the documentation and/or other materials provided with the
31# distribution.
32# * Neither the name of the copyright holder nor the names of its
33# contributors may be used to endorse or promote products derived from
34# this software without specific prior written permission.
35#
36# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
37# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
38# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
39# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
40# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
42# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
43# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
44# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
45# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
46# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View as plain text