mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
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:
2
.github/mise.toml
vendored
Normal file
2
.github/mise.toml
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
[tools]
|
||||
protoc = "23.4"
|
||||
15
.github/workflows/linters.yml
vendored
15
.github/workflows/linters.yml
vendored
@@ -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
|
||||
|
||||
5
.github/workflows/run-tests.yml
vendored
5
.github/workflows/run-tests.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user