File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " gomod" # See documentation for possible values
4+ directory : " /" # Location of package manifests
5+ schedule :
6+ interval : " daily"
Original file line number Diff line number Diff line change 1+ name : go-test
2+ on :
3+ push :
4+ branches :
5+ - ' main'
6+ pull_request :
7+
8+ permissions :
9+ contents : read
10+
11+ jobs :
12+ go-tests :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v2
17+ - name : Unshallow
18+ run : git fetch --prune --unshallow
19+ - name : Set up Go
20+ uses : actions/setup-go@v2
21+ with :
22+ go-version : 1.16
23+ - name : Run go tests
24+ run : go test -race -count 1 ./... -timeout=3m
Original file line number Diff line number Diff line change 2525 - name : Set up Go
2626 uses : actions/setup-go@v2
2727 with :
28- go-version : 1.17
28+ go-version : 1.16
2929 - name : Describe plugin
3030 id : plugin_describe
3131 run : echo "::set-output name=api_version::$(go run . describe | jq -r '.api_version')"
You can’t perform that action at this time.
0 commit comments