Skip to content

Commit a6f23f1

Browse files
committed
fix CICD
1 parent 0839ae1 commit a6f23f1

File tree

3 files changed

+8
-21
lines changed

3 files changed

+8
-21
lines changed

.github/workflows/reusable-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ jobs:
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

.github/workflows/tag-and-release.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@ name: Test and maybe create a new release
22

33
on:
44
push:
5-
branches:
6-
- v3
5+
branches: [master, v3]
76
permissions:
87
contents: write
98
jobs:
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

.github/workflows/testing-dispatch.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,13 @@ name: Go Test (manual run)
33
on:
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

1111
jobs:
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 }}

0 commit comments

Comments
 (0)