Skip to content

Commit 318ec1f

Browse files
committed
Fix mocks check
1 parent 674a8c6 commit 318ec1f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/mocks.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,21 @@
33

44
on: [pull_request]
55
name: Mocks check
6+
67
env:
78
GO111MODULE: on
89
GOPRIVATE: github.com/sprintertech
10+
TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
911

1012
jobs:
1113
mocks-check:
1214
runs-on: ubuntu-latest
1315
steps:
1416
- uses: actions/checkout@v2
1517

18+
- name: setup git access to private repos
19+
run: git config --global url."https://${TOKEN}:[email protected]/sprintertech/".insteadOf "https://github.com/sprintertech/"
20+
1621
- uses: actions/setup-go@v2
1722
with:
1823
go-version: "^1.23"

0 commit comments

Comments
 (0)