mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-10 22:17:44 +00:00
add git action
This commit is contained in:
parent
3dbbe92603
commit
1555c9bcf2
1 changed files with 16 additions and 0 deletions
16
.github/workflows/test.yml
vendored
Normal file
16
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
on: [push, pull_request]
|
||||||
|
name: Unit Tests
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: "go ${{ matrix.go-version }}"
|
||||||
|
matrix:
|
||||||
|
go-version: [1.16.5]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: ${{ matrix.go-version }}
|
||||||
|
- name: Test
|
||||||
|
run: go test ./...
|
Loading…
Reference in a new issue