mirror of
https://github.com/FiloSottile/mkcert.git
synced 2025-10-14 00:41:40 +08:00
23 lines
564 B
YAML
23 lines
564 B
YAML
on: [push, pull_request]
|
|
name: Test
|
|
jobs:
|
|
test:
|
|
name: Go tests
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
go: [1.14.x, 1.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
|
|
- name: Run analyses
|
|
run: go run analysis.go ./...
|
|
- name: Run tests
|
|
run: go test -race ./...
|