Skip to content

build(deps): Update hyper requirement from 0.14.27 to 1.0.1 #280

build(deps): Update hyper requirement from 0.14.27 to 1.0.1

build(deps): Update hyper requirement from 0.14.27 to 1.0.1 #280

Workflow file for this run

name: ci-doc-tests
on:
push:
branches:
- main
tags:
- "*"
pull_request:
permissions:
contents: write
jobs:
docs:
name: docs
runs-on: ubuntu-latest
steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Install linker
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
gcc-multilib
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Check Rust version
run: rustc --version
- name: Install protoc
uses: arduino/setup-protoc@v1
with:
version: "3.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
- name: Set env var
shell: bash
run: export 'RUSTFLAGS=-D warnings'
# Fails the CI build if there are documentation warnings.
- name: Run doc tests
shell: bash
run: cargo doc --no-deps --all-features -p avalanche-consensus -p avalanche-types