Skip to content

Commit

Permalink
simplify matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
nxadm committed Jan 26, 2021
1 parent 06eff90 commit eda6095
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ jobs:
matrix:
go-version: [1.15.x, 1.14.x, 1.13.x, 1.12.x, 1.11.x]
os: [ubuntu-latest, macos-latest, windows-latest]
goos: ["linux", "darwin", "windows"]
goarch: ["amd64"]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
Expand All @@ -20,8 +18,9 @@ jobs:
fetch-depth: 0
- name: Test
run: go test -race -v ./...
- name: Build
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
- name: Build lib
run: go build
- name: Build cmd
run: go build
working-directory: ./cmd/gotail

0 comments on commit eda6095

Please sign in to comment.