-
Notifications
You must be signed in to change notification settings - Fork 78
28 lines (25 loc) · 837 Bytes
/
go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: properties
on: [push, pull_request]
jobs:
test:
name: Test ${{ matrix.os }} go${{ matrix.go }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
go: ["1.19.x","1.18.x","1.17.x","1.16.x","1.15.x","1.14.x","1.13.x","1.12.x","1.11.x","1.10.x","1.9.x","1.8.x","1.7.x","1.6.x","1.5.x","1.4.x","1.3.x"]
# go: ["1.19.x","1.18.x","1.10.x"]
steps:
- name: Setup Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
with:
path: go/src/github.com/magiconair/properties
- name: Run Tests (GOPATH)
run: go test ./...
env:
GOPATH: /home/runner/work/properties/go