robocar-simulator/.github/workflows/tests.yml

30 lines
402 B
YAML
Raw Permalink Normal View History

2021-01-23 14:21:19 +00:00
name: Tests
on:
push:
# Publish `master` as Docker `latest` image.
branches:
tags:
# Run tests for any PRs.
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15'
- name: test
run: go test ./...
- name: vet
run: go vet ./...