mirror of
https://github.com/FiloSottile/age.git
synced 2026-01-05 03:43:57 +00:00
23 lines
541 B
YAML
23 lines
541 B
YAML
on: [push, pull_request]
|
|
name: Go tests
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
go: [1.16.x, 1.17.x]
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- name: Install Go ${{ matrix.go }}
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Run tests
|
|
run: go test -race ./...
|