File tree Expand file tree Collapse file tree 3 files changed +8
-21
lines changed
Expand file tree Collapse file tree 3 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 2020 run : go mod download -x
2121
2222 - name : Test
23- run : go run github.com/go-task/task/v3/cmd/task test.ci
23+ run : go run github.com/go-task/task/v3/cmd/task test.ci
Original file line number Diff line number Diff line change @@ -2,19 +2,12 @@ name: Test and maybe create a new release
22
33on :
44 push :
5- branches :
6- - v3
5+ branches : [master, v3]
76permissions :
87 contents : write
98jobs :
109 test :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v2
14- with :
15- fetch-depth : 0
16- - uses : ./.github/workflows/reusable-testing.yml
17-
10+ uses : ./.github/workflows/reusable-testing.yml
1811 tag :
1912 runs-on : ubuntu-latest
2013 needs : test
Original file line number Diff line number Diff line change @@ -3,19 +3,13 @@ name: Go Test (manual run)
33on :
44 workflow_dispatch :
55 inputs :
6- tag :
7- description : " Tag to checkout."
6+ ref :
7+ description : " Tag/commit to checkout."
88 type : string
99 required : true
1010
1111jobs :
1212 test :
13- runs-on : ubuntu-latest
14- steps :
15- - uses : actions/checkout@v2
16- with :
17- fetch-depth : 0
18- ref : ${{ github.event.inputs.tag }}
19- - uses : ./.github/workflows/reusable-testing.yml
20-
21-
13+ uses : ./.github/workflows/reusable-testing.yml
14+ with :
15+ ref : ${{ inputs.ref }}
You can’t perform that action at this time.
0 commit comments