mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
ci: authenticate and pin the buf setup step
the anonymous release download hit the shared runner ip rate limit and failed the job with 'socket hang up' after three retries.
This commit is contained in:
1 parent
a632dbc406
commit
71657b2d0b
1 file changed
+8
@@ -53,8 +53,16 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
bun-${{ runner.os }}-
|
bun-${{ runner.os }}-
|
||||||
|
|
||||||
|
# The token is what stops this step flaking: without it the action pulls
|
||||||
|
# buf's release tarball from github.com anonymously, on the shared runner
|
||||||
|
# IP's rate limit, and a throttled connection shows up as `socket hang
|
||||||
|
# up` after three retries. The version is the action's own default, made
|
||||||
|
# explicit so a new action release cannot move the buf we build with.
|
||||||
- name: Install buf
|
- name: Install buf
|
||||||
uses: bufbuild/buf-setup-action@v1
|
uses: bufbuild/buf-setup-action@v1
|
||||||
|
with:
|
||||||
|
version: "1.50.0"
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Install protoc plugins
|
- name: Install protoc plugins
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user