monor modifications to fix permission issue on Mac #123
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] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Run golint | |
run: | | |
sudo apt install -y golint | |
cd src | |
golint | |
cd .. | |
echo done | |
- name: Download deps | |
run: | | |
sudo apt install -y golang | |
cd src | |
go get -d -v | |
echo done | |
- name: Run go vet | |
run: | | |
sudo apt install -y golang | |
cd src | |
go vet | |
echo done | |
- name: Run go test | |
run: | | |
sudo apt install -y golang | |
cd src | |
go test | |
echo done |