mirror of
https://github.com/FiloSottile/age.git
synced 2026-01-08 21:03:05 +00:00
.github/workflows: extend testing matrix
This commit is contained in:
24
.github/workflows/test.yml
vendored
24
.github/workflows/test.yml
vendored
@@ -1,10 +1,22 @@
|
||||
name: Go tests
|
||||
on: [push, pull_request]
|
||||
name: Go tests
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
name: Test
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
go: [1.14.x, 1.x]
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/setup-go@v2
|
||||
with: { go-version: 1.x }
|
||||
- uses: actions/checkout@v2
|
||||
- run: go test -race ./...
|
||||
- name: Install Go ${{ matrix.go }}
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
# - name: Run analyses
|
||||
# run: go run analysis.go ./...
|
||||
- name: Run tests
|
||||
run: go test -race ./...
|
||||
|
||||
Reference in New Issue
Block a user