Guarantee the order of rules. #25
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 Test" | |
on: | |
pull_request: | |
paths: | |
- '**.go' | |
- 'go.mod' | |
- 'go.sum' | |
jobs: | |
unittest: | |
name: Unit Test | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.17.13 | |
- name: Go vet | |
run: | | |
export GOPATH=~/go | |
export PATH=$PATH:$GOPATH/bin | |
go install github.com/onsi/ginkgo/[email protected] | |
make install-test-tools fmt vet test |