Skip to content

Commit 61255dc

Browse files
fix: linting with private modules
1 parent cf97937 commit 61255dc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/lint.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ jobs:
1414
steps:
1515
- uses: actions/setup-go@v3
1616
with:
17-
go-version: 1.17
17+
go-version: 1.14
18+
19+
- name: Configure git for private modules
20+
env:
21+
GIT_AUTH_TOKEN: ${{ secrets.BOT_REPO_TOKEN }}
22+
run: git config --global url."https://speakeasybot:${GIT_AUTH_TOKEN}@github.com".insteadOf "https://github.com"
23+
1824
- uses: actions/checkout@v3
1925
- name: golangci-lint
2026
uses: golangci/golangci-lint-action@v3

0 commit comments

Comments
 (0)