[YUNIKORN-2051] fix staticcheck errors (#693) #214
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: Push to master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: .go_version | |
- name: Unit tests | |
run: make test | |
- name: Code coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: build/coverage.txt |