This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
fix kpng version command and standardize build command #1092
Workflow file for this run
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: Unit Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: '1.19' | |
stable: 'false' | |
- name: Install dependencies | |
run: | | |
go version | |
go install golang.org/x/lint/golint@latest | |
sudo apt-get install -y libnl-3-dev libnl-genl-3-dev | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: run unit tests | |
run: ./hack/test_unit.sh |