apollo-backend/.github/workflows/test.yml
Andre Medeiros 294243b02d fix ci
2022-03-26 13:40:51 -04:00

20 lines
526 B
YAML

on: [push, pull_request]
name: Unit Tests
jobs:
test:
name: "go ${{ matrix.go-version }} (${{ matrix.platform }})"
strategy:
matrix:
go-version: [1.16.5]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Lint
uses: golangci/golangci-lint-action@v2
- name: Test
run: go test ./... -v -race -timeout 5s