File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 93
93
- name : " action/race"
94
94
color : " dddddd"
95
95
description : Enable the Go race detector in subsequent test runs of this pull request.
96
+ - name : " action/test-acceptance"
97
+ color : " dddddd"
98
+ description : Run the acceptance test suite in subsequent test runs of this pull request.
Original file line number Diff line number Diff line change @@ -111,3 +111,21 @@ jobs:
111
111
run : |
112
112
go generate ./...
113
113
git diff --exit-code
114
+
115
+ test-acceptance :
116
+ runs-on : ubuntu-latest
117
+ if : ${{ github.ref_name == 'main' || contains(github.event.pull_request.labels.*.name, 'action/test-acceptance') }}
118
+ steps :
119
+ - uses : actions/checkout@v3
120
+ - uses : actions/setup-go@v3
121
+ with :
122
+ go-version : " 1.19"
123
+ cache : true
124
+ - uses : goreleaser/goreleaser-action@v3
125
+ with :
126
+ distribution : goreleaser
127
+ version : latest
128
+ args : release --rm-dist --snapshot --skip-publish
129
+ env :
130
+ RELEASE_NAME : 0.0.0
131
+
You can’t perform that action at this time.
0 commit comments