Skip to content

Misc cleanup, run local tests for batching #7925

Misc cleanup, run local tests for batching

Misc cleanup, run local tests for batching #7925

Workflow file for this run

name: Check Doc Syntax
on:
push:
paths-ignore:
- "adr/**"
- "deploy/**"
- ".github/**"
concurrency:
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
cancel-in-progress: true
jobs:
doc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Cache Rust build
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809
id: cache-rust
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: rust-build-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
rust-build-${{ runner.os }}-
# remove this once the latest ubuntu image has been rolled out
- name: Fix APT mirror (working patch)
run: |
echo "Patching sources.list..."
sudo sed -i 's|mirror+file:/etc/apt/apt-mirrors.txt|http://archive.ubuntu.com/ubuntu|g' /etc/apt/sources.list
sudo apt-get clean
sudo apt-get update
- name: Install Dependencies
run: sudo apt install protobuf-compiler
- name: Show errors inline
uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98
- name: Install Rust
run: rustup toolchain install 1.85.0
- name: Set Rust as default
run: rustup default 1.85.0
- name: Build Docs
run: cargo doc --all-features --no-deps --document-private-items