Skip to content

Run the merge-queue test suites on pushes to main (#6667) #476

Run the merge-queue test suites on pushes to main (#6667)

Run the merge-queue test suites on pushes to main (#6667) #476

name: Explorer Rust check
on:
push:
branches: [main]
paths-ignore:
- 'docs/**'
- 'mdbook/**'
- 'kubernetes/**'
- 'docker/dashboards/**'
pull_request:
paths-ignore:
- 'docs/**'
- 'mdbook/**'
- 'kubernetes/**'
- 'docker/dashboards/**'
merge_group:
workflow_dispatch:
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}'
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUST_BACKTRACE: short
RUSTFLAGS: -D warnings
RUSTUP_MAX_RETRIES: 10
RUST_LOG: warn
permissions:
contents: read
jobs:
explorer-rust-check:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v6.0.2
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: cargo check linera-explorer-server
working-directory: linera-explorer-new/server-rust
run: cargo check --locked --all-targets