Skip to content

Commit

Permalink
Add matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
msdundar committed Jun 13, 2021
1 parent 6e4c604 commit 761c9ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ on: push

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.14.x, 1.15.x, 1.16.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
Expand All @@ -15,7 +19,7 @@ jobs:
${{ runner.os }}-go-
- uses: actions/setup-go@v2
with:
go-version: '1.16.4'
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
Expand Down

0 comments on commit 761c9ed

Please sign in to comment.