[CI/CD] Run tests

This commit is contained in:
cyrilix committed 2021-01-23 15:44:54 +01:00
1 parent e819f61d1b
commit 22bb66e34a
2 files changed
+46 -8

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
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 ./...