1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-09-16 09:06:20 +02:00

Add github workflows

This commit is contained in:
Aaron L
2020-07-03 11:32:39 -07:00
parent 0a256b5200
commit fddf30677c

28
.github/workflows/test.yaml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: test
on: [push, pull_request]
jobs:
test:
name: test
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.14.4]
steps:
- name: checkout
uses: actions/checkout@v2
with: { fetch-depth: 1 }
- name: go
uses: actions/setup-go@v1
with:
go-version: ${{matrix.go}}
- name: deps
run: go mod download
env: { GOPROXY: 'https://proxy.golang.org' }
- name: test
run: >
cd $GITHUB_WORKSPACE
&& go test -v ./...