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:
parent
b542d15998
commit
d2b8b373b9
10
.github/workflows/verify-go.yml
vendored
10
.github/workflows/verify-go.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user