replace arduino/setup-protoc@v3 (#10484)

## What changed?

Replacing `arduino/setup-protoc` GitHub action.

## Why?

https://github.com/arduino/setup-protoc hasn't been updated in 2y and is
causing this warning:
```
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: arduino/setup-protoc@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
```
This commit is contained in:
Stephan Behnke
2026-06-02 08:40:29 -07:00
committed by GitHub
parent 280a034922
commit ca4b35245f
3 changed files with 14 additions and 8 deletions

2
.github/mise.toml vendored Normal file
View File

@@ -0,0 +1,2 @@
[tools]
protoc = "23.4"

View File

@@ -37,9 +37,10 @@ jobs:
check-latest: true
cache: true
- uses: arduino/setup-protoc@v3
- uses: jdx/mise-action@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
working_directory: .github
install_args: protoc
- name: lint protobuf definitions
run: |
@@ -58,9 +59,10 @@ jobs:
check-latest: true
cache: true
- uses: arduino/setup-protoc@v3
- uses: jdx/mise-action@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
working_directory: .github
install_args: protoc
- name: lint protobuf API definitions
run: |
@@ -79,9 +81,10 @@ jobs:
check-latest: true
cache: true
- uses: arduino/setup-protoc@v3
- uses: jdx/mise-action@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
working_directory: .github
install_args: protoc
- name: lint system workflows with workflowcheck
run: make workflowcheck

View File

@@ -277,9 +277,10 @@ jobs:
path: ~/.cache/go-build
key: go-${{ runner.os }}${{ runner.arch }}-build-${{ env.COMMIT }}
- uses: arduino/setup-protoc@v3
- uses: jdx/mise-action@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
working_directory: .github
install_args: protoc
- run: GOOS=windows GOARCH=amd64 make clean-bins bins