Bump docker/setup-buildx-action from 2 to 3 #5
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: Build | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
tags: | |
# YYYYMMDD | |
- "20[0-9][0-9][0-1][0-9][0-3][0-9]*" | |
pull_request: | |
branches: | |
workflow_dispatch: | |
env: | |
RUST_LOG: info | |
RUST_BACKTRACE: 1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: styfle/[email protected] | |
name: Cancel Outdated Builds | |
with: | |
all_but_latest: true | |
access_token: ${{ github.token }} | |
- uses: actions/checkout@v4 | |
name: Checkout Repository | |
with: | |
submodules: true | |
- uses: Swatinem/rust-cache@v2 | |
name: Enable Rust Caching | |
- name: Build | |
run: | | |
cargo build --release --workspace | |
- name: Test | |
run: | | |
cargo test --release --workspace --all-features --no-run | |
cargo test --release --workspace --all-features --verbose -- --test-threads 1 --nocapture | |
timeout-minutes: 30 |