Merge pull request #73 from mbenson/dep #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.7.x"] # code works with 1.3.x but we need 1.7.x for Benchmark.Run | |
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 |