ci: reduce the amount of API calls made by `arduino/setup-protoc@v1` (#5930)
* ci: reduce the amount of API calls made by `arduino/setup-protoc@v1` If the `protoc` compiler version is not available locally, the action will look for the most recent version. We use a fixed version to reduce the amount of API calls being done in all workflows, but mainly on `build-crates-individually.yml` * fix: decrease `protoc` version until the action is fixed
This commit is contained in:
parent
943a72a0bb
commit
b0604080cb
|
@ -111,9 +111,10 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install last version of Protoc
|
- name: Install last version of Protoc
|
||||||
uses: arduino/setup-protoc@v1
|
uses: arduino/setup-protoc@v1.1.2
|
||||||
with:
|
with:
|
||||||
version: '3.x'
|
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed
|
||||||
|
version: '3.20.1'
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
|
|
|
@ -82,9 +82,10 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install last version of Protoc
|
- name: Install last version of Protoc
|
||||||
uses: arduino/setup-protoc@v1
|
uses: arduino/setup-protoc@v1.1.2
|
||||||
with:
|
with:
|
||||||
version: '3.x'
|
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed
|
||||||
|
version: '3.20.1'
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
|
@ -224,9 +225,10 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install last version of Protoc
|
- name: Install last version of Protoc
|
||||||
uses: arduino/setup-protoc@v1
|
uses: arduino/setup-protoc@v1.1.2
|
||||||
with:
|
with:
|
||||||
version: '3.x'
|
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed
|
||||||
|
version: '3.20.1'
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
|
|
|
@ -42,9 +42,10 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install last version of Protoc
|
- name: Install last version of Protoc
|
||||||
uses: arduino/setup-protoc@v1
|
uses: arduino/setup-protoc@v1.1.2
|
||||||
with:
|
with:
|
||||||
version: '3.x'
|
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed
|
||||||
|
version: '3.20.1'
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Install latest beta
|
- name: Install latest beta
|
||||||
|
|
|
@ -67,9 +67,10 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install last version of Protoc
|
- name: Install last version of Protoc
|
||||||
uses: arduino/setup-protoc@v1
|
uses: arduino/setup-protoc@v1.1.2
|
||||||
with:
|
with:
|
||||||
version: '3.x'
|
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed
|
||||||
|
version: '3.20.1'
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Check workflow permissions
|
- name: Check workflow permissions
|
||||||
|
@ -117,9 +118,10 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install last version of Protoc
|
- name: Install last version of Protoc
|
||||||
uses: arduino/setup-protoc@v1
|
uses: arduino/setup-protoc@v1.1.2
|
||||||
with:
|
with:
|
||||||
version: '3.x'
|
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed
|
||||||
|
version: '3.20.1'
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1.0.6
|
- uses: actions-rs/toolchain@v1.0.6
|
||||||
|
@ -157,9 +159,10 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install last version of Protoc
|
- name: Install last version of Protoc
|
||||||
uses: arduino/setup-protoc@v1
|
uses: arduino/setup-protoc@v1.1.2
|
||||||
with:
|
with:
|
||||||
version: '3.x'
|
# TODO: increase to latest version after https://github.com/arduino/setup-protoc/issues/33 is fixed
|
||||||
|
version: '3.20.1'
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1.0.6
|
- uses: actions-rs/toolchain@v1.0.6
|
||||||
|
|
Loading…
Reference in New Issue