Skip to content

Commit 8da8315

Browse files
authored
Merge pull request #91 from abenettt/feature/github-actions
Test on all supported versions of go
2 parents 2e51804 + 3a286a6 commit 8da8315

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ jobs:
55
build:
66
name: Build
77
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
go: ['1.13', '1.14', '1.15']
811
steps:
912

10-
- name: Set up Go 1.14
11-
uses: actions/setup-go@v1
13+
- uses: actions/checkout@v2
14+
- name: Set up Go ${{ matrix.go }}
15+
uses: actions/setup-go@v2
1216
with:
13-
go-version: 1.14
14-
id: go
15-
16-
- name: Check out code into the Go module directory
17-
uses: actions/checkout@v1
17+
go-version: ${{ matrix.go }}
1818

1919
- name: Deps
2020
run: go mod download

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/apex/log
22

3-
go 1.12
3+
go 1.13
44

55
require (
66
github.com/apex/logs v1.0.0
@@ -15,7 +15,7 @@ require (
1515
github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7 // indirect
1616
github.com/kr/pretty v0.2.0 // indirect
1717
github.com/mattn/go-colorable v0.1.2
18-
github.com/pkg/errors v0.8.1
18+
github.com/pkg/errors v0.9.1
1919
github.com/rogpeppe/fastuuid v1.1.0
2020
github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9 // indirect
2121
github.com/smartystreets/gunit v1.0.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ github.com/onsi/ginkgo v1.6.0 h1:Ix8l273rp3QzYgXSR+c8d1fTG7UPgYkOSELPhiY/YGw=
4949
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
5050
github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo=
5151
github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
52-
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
53-
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
52+
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
53+
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
5454
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
5555
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
5656
github.com/rogpeppe/fastuuid v1.1.0 h1:INyGLmTCMGFr6OVIb977ghJvABML2CMVjPoRfNDdYDo=

0 commit comments

Comments
 (0)