Skip to content

add repo-token to fix protoc api rate limit #15

add repo-token to fix protoc api rate limit

add repo-token to fix protoc api rate limit #15

Workflow file for this run

name: CI
on:
pull_request_target:
branches: ['master', 'release/**']
push:
branches: ['master']
env:
GO_VERSION: "1.21.6"
jobs:
build:
name: build-dev-image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout submodule
uses: Mushus/[email protected]
with:
basePath: # optional, default is .
submodulePath: libvgpu
- name: Setup Go environment
uses: actions/[email protected]
with:
go-version: 1.21
- name: Get branch name
uses: nelonoel/[email protected]
- name: Docker Login
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_TOKEN }}
password: ${{ secrets.DOCKERHUB_PASSWD }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Setup protoc
uses: arduino/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: make tidy
- run: SHORT_VERSION="dev" bash ./hack/build.sh