1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-30 05:59:39 +02:00

chore(pipeline): add GO unit test as GH action (#1138)

* add GO unit test job

* Update .github/workflows/verify-go.yml
This commit is contained in:
Christopher Fenner 2020-01-31 15:18:34 +01:00 committed by GitHub
parent b542d15998
commit d2b8b373b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,16 @@ name: Go
on: [push]
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v1
with:
go-version: '1.13.x'
- name: checkout
uses: actions/checkout@v2
- name: unit-test
run: go test ./... --cover
format:
runs-on: ubuntu-latest
steps: