Skip to content

Commit 5045bde

Browse files
authored
ci improvements, update protoc (#13876)
* Fix md5 return_type to only return Utf8 as per current code impl. * ci improvements * Lock taiki-e/install-action to a githash for apache action policy - Release 2.46.19 in the case of this hash. * Lock taiki-e/install-action to a githash for apache action policy - Release 2.46.19 in the case of this hash. * Revert nextest change until action is approved. * Exclude requires workspace * Fixing minor typo to verify ci caching of builds is working as expected. * Updates from PR review. * Adding issue link for disabling intel mac build * improve performance of running examples * remove cargo check
1 parent 2d985b4 commit 5045bde

File tree

10 files changed

+174
-96
lines changed

10 files changed

+174
-96
lines changed

.github/actions/setup-macos-aarch64-builder/action.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ runs:
3030
run: |
3131
mkdir -p $HOME/d/protoc
3232
cd $HOME/d/protoc
33-
export PROTO_ZIP="protoc-21.4-osx-aarch_64.zip"
34-
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.4/$PROTO_ZIP
33+
export PROTO_ZIP="protoc-29.1-osx-aarch_64.zip"
34+
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v29.1/$PROTO_ZIP
3535
unzip $PROTO_ZIP
3636
echo "$HOME/d/protoc/bin" >> $GITHUB_PATH
3737
export PATH=$PATH:$HOME/d/protoc/bin
@@ -43,5 +43,7 @@ runs:
4343
rustup toolchain install stable
4444
rustup default stable
4545
rustup component add rustfmt
46+
- name: Setup rust cache
47+
uses: Swatinem/rust-cache@v2
4648
- name: Configure rust runtime env
4749
uses: ./.github/actions/setup-rust-runtime

.github/actions/setup-macos-builder/action.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ runs:
3030
run: |
3131
mkdir -p $HOME/d/protoc
3232
cd $HOME/d/protoc
33-
export PROTO_ZIP="protoc-21.4-osx-x86_64.zip"
34-
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.4/$PROTO_ZIP
33+
export PROTO_ZIP="protoc-29.1-osx-x86_64.zip"
34+
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v29.1/$PROTO_ZIP
3535
unzip $PROTO_ZIP
3636
echo "$HOME/d/protoc/bin" >> $GITHUB_PATH
3737
export PATH=$PATH:$HOME/d/protoc/bin

.github/actions/setup-windows-builder/action.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ runs:
3030
run: |
3131
mkdir -p $HOME/d/protoc
3232
cd $HOME/d/protoc
33-
export PROTO_ZIP="protoc-21.4-win64.zip"
34-
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.4/$PROTO_ZIP
33+
export PROTO_ZIP="protoc-29.1-win64.zip"
34+
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v29.1/$PROTO_ZIP
3535
unzip $PROTO_ZIP
3636
export PATH=$PATH:$HOME/d/protoc/bin
3737
protoc.exe --version

.github/workflows/dependencies.yml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
- uses: actions/checkout@v4
4343
with:
4444
submodules: true
45+
fetch-depth: 1
4546
- name: Setup Rust toolchain
4647
uses: ./.github/actions/setup-builder
4748
with:

.github/workflows/docs_pr.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
- uses: actions/checkout@v4
4444
with:
4545
submodules: true
46+
fetch-depth: 1
4647
- name: Setup Rust toolchain
4748
uses: ./.github/actions/setup-builder
4849
with:

0 commit comments

Comments
 (0)