fix(deps): update module google.golang.org/grpc to v1.69.4 #547
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: formatting | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
formatting: | |
name: formatting | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hashicorp/setup-terraform@v3 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: terraform fmt | |
# Format any Terraform HCL scripts. | |
run: | | |
git ls-files -z -- '*.tf' | xargs -P 2 -n 50 -0 terraform fmt | |
- name: cmake-format | |
# Format any go code. | |
run: | | |
git ls-files -z -- '*.go' | | |
xargs -P 2 -n 50 -0 go fmt | |
- name: clang-format | |
# Format the C++ code, if any. | |
run: | | |
git ls-files -z -- '\.(cc|h)$' | xargs -P 2 -n 50 -0 clang-format -i | |
- name: install | |
# Install cmake-format to format the C++ build files. | |
run: | | |
pip install cmakelang==0.6.13 | |
- name: cmake-format | |
run: | | |
git ls-files -z -- '*CMakeLists.txt' '*.cmake' | | |
xargs -P 2 -n 1 -0 cmake-format -i | |
- name: google-java-format | |
run: | | |
java -version | |
git ls-files -z -- '**/pom.xml' | | |
xargs -0 -I{} dirname {} | | |
xargs -I{} env -C {} mvn com.coveo:fmt-maven-plugin:format | |
- name: Install Black and ISort | |
run: pip install black==22.3.0 isort==5.12.0 | |
- name: Sort Imports | |
run: | | |
git ls-files -z -- '*.py' ':!**/*_pb2_grpc.py' ':!**/*_pb2.py' | | |
xargs -0 python3 -m isort --quiet | |
- name: Format Python Code | |
run: | | |
git ls-files -z -- '*.py' ':!**/*_pb2_grpc.py' ':!**/*_pb2.py' | | |
xargs -0 python3 -m black --quiet | |
- name: check-diff | |
# Show any differences caused by the previous steps. If there are any | |
# that breaks the build, because it indicates one of our files is not | |
# formatted properly. | |
run: git diff --ignore-submodules=all --color --exit-code . |