Update Rust crate hyper-rustls to 0.27.0 #3793
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: Bazel Native | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- 'docs/**' | |
permissions: read-all | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
unit-tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-24.04, macos-15] | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: >- # v4.2.2 | |
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Setup Bazel | |
uses: >- # v0.13.0 | |
bazel-contrib/setup-bazel@663f88d97adf17db2523a5b385d9407a562e5551 | |
with: | |
bazelisk-cache: true | |
repository-cache: true | |
disk-cache: ${{ github.workflow }}-${{ matrix.os }} | |
- name: Run Bazel tests | |
run: | | |
if [ "$RUNNER_OS" == "Linux" ] || [ "$RUNNER_OS" == "macOS" ]; then | |
bazel test //... \ | |
--extra_toolchains=@rust_toolchains//:all \ | |
--verbose_failures | |
elif [ "$RUNNER_OS" == "Windows" ]; then | |
bazel \ | |
--output_user_root=${{ steps.bazel-cache.outputs.mountpoint }} \ | |
test \ | |
--config=windows \ | |
//... \ | |
--verbose_failures | |
else | |
echo "Unknown runner OS: $RUNNER_OS" | |
exit 1 | |
fi | |
shell: bash |