mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 23:47:44 +00:00
20 lines
508 B
YAML
20 lines
508 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
|