Update Rust crate async-trait to v0.1.88 #4207
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: Nix | |
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: | |
nix-bazel: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-24.04, macos-15] | |
name: Bazel Dev / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 45 | |
steps: | |
- name: Checkout | |
uses: >- # v4.2.2 | |
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Prepare Worker | |
uses: ./.github/actions/prepare-nix | |
- name: Invoke Bazel build in Nix shell | |
run: | | |
if [ "$RUNNER_OS" == "Linux" ]; then | |
nix develop --impure --command \ | |
bash -c "bazel test ... --verbose_failures" | |
elif [ "$RUNNER_OS" == "macOS" ]; then | |
nix develop --impure --command \ | |
bash -c "bazel test //... --verbose_failures" | |
else | |
echo "Unsupported runner OS: $RUNNER_OS" | |
exit 1 | |
fi | |
shell: bash | |
nix-cargo: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-24.04, macos-15] | |
name: Cargo Dev / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 45 | |
steps: | |
- name: Checkout | |
uses: >- # v4.2.2 | |
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Prepare Worker | |
uses: ./.github/actions/prepare-nix | |
- name: Invoke Cargo build in Nix shell | |
run: > | |
nix develop --impure --command | |
bash -c "cargo test --all --profile=smol" | |
installation: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-22.04 | |
- ubuntu-24.04 | |
- macos-13 | |
- macos-14 | |
- macos-15 | |
name: Installation / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 45 | |
steps: | |
- name: Checkout | |
uses: >- # v4.2.2 | |
actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Prepare Worker | |
uses: ./.github/actions/prepare-nix | |
- name: Test nix run | |
run: | | |
nix run -L .#nativelink-is-executable-test |