Merge pull request #302 from liviuf-ancas/patch-1 #1519
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [ master, feat/*, rc/* ] | |
pull_request: | |
branches: [ master, feat/*, rc/* ] | |
jobs: | |
test: | |
name: Unit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.17.6 | |
id: go | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
- name: Unit tests | |
run: make test |