Skip to content

Commit

Permalink
Merge branch 'release/v1.8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHines committed Aug 18, 2021
2 parents 2fee6af + 473edce commit 93c7c7e
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 15 deletions.
88 changes: 88 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
on:
push:
pull_request:
types: [synchronize]
schedule:
- cron: "0 0 1,11,21 * *"
name: Test
jobs:
test:
strategy:
fail-fast: false
matrix:
go-version:
- 1.7.x
- 1.8.x
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- 1.15.x
- 1.16.x
- 1.17.x
go-flags: [""]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- go-version: 1.13.x
os: ubuntu-latest
go-flags: "-trimpath"
- go-version: 1.13.x
os: macos-latest
go-flags: "-trimpath"
- go-version: 1.13.x
os: windows-latest
go-flags: "-trimpath"
- go-version: 1.14.x
os: ubuntu-latest
go-flags: "-trimpath"
- go-version: 1.14.x
os: macos-latest
go-flags: "-trimpath"
- go-version: 1.14.x
os: windows-latest
go-flags: "-trimpath"
- go-version: 1.15.x
os: ubuntu-latest
go-flags: "-trimpath"
- go-version: 1.15.x
os: macos-latest
go-flags: "-trimpath"
- go-version: 1.15.x
os: windows-latest
go-flags: "-trimpath"
- go-version: 1.16.x
os: ubuntu-latest
go-flags: "-trimpath"
- go-version: 1.16.x
os: macos-latest
go-flags: "-trimpath"
- go-version: 1.16.x
os: windows-latest
go-flags: "-trimpath"
- go-version: 1.17.x
os: ubuntu-latest
go-flags: "-trimpath"
- go-version: 1.17.x
os: macos-latest
go-flags: "-trimpath"
- go-version: 1.17.x
os: windows-latest
go-flags: "-trimpath"
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
with:
path: "${{github.workspace}}/src/github.com/${{github.repository}}"
- name: Test
env:
GOPATH: "${{github.workspace}}"
GOFLAGS: ${{ matrix.go-flags }}
working-directory: "${{github.workspace}}/src/github.com/${{github.repository}}"
run: go test ./...
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
module github.com/go-stack/stack

go 1.17

0 comments on commit 93c7c7e

Please sign in to comment.