Skip to content

Commit 471d05e

Browse files
committed
fix CICD again
1 parent a6f23f1 commit 471d05e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/reusable-testing.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Reusable Go Test
22

33
on:
44
workflow_call:
5+
inputs:
6+
ref:
7+
required: false
8+
type: string
9+
default: ""
510

611
jobs:
712
test:
@@ -11,6 +16,11 @@ jobs:
1116
os: ["macos-latest", "ubuntu-latest"]
1217
go_vers: ["1.22", "1.23"]
1318
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 0
22+
ref: ${{ inputs.ref }}
23+
1424
- name: Set up Go
1525
uses: actions/setup-go@v2
1626
with:

0 commit comments

Comments
 (0)