shorten thread names #1135
Workflow file for this run
  
    
      This file contains hidden or 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
    
  
  
    
  | # Managed by infra via Terraform, edits will be lost | |
| name: rust-library | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| CARGO_NET_GIT_FETCH_WITH_CLI: true | |
| jobs: | |
| test: | |
| name: rust | |
| runs-on: ubuntu-latest-arm-8-cores | |
| if: github.actor != 'bitdriftlabs-terraform[bot]' | |
| strategy: | |
| matrix: | |
| rust: ['stable'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Rust Toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| override: true | |
| profile: minimal | |
| - name: Cache | |
| uses: Swatinem/[email protected] | |
| - name: CI Setup | |
| run: if [[ -f ci/setup.sh ]]; then ci/setup.sh; fi | |
| - name: Build Workspace | |
| run: | | |
| if test -f "Makefile"; then | |
| make build | |
| else | |
| cargo build --workspace | |
| fi | |
| - name: Test Workspace | |
| run: | | |
| if test -f "Makefile"; then | |
| make test | |
| else | |
| cargo test --workspace | |
| fi |