Skip to content

build(deps): bump codecov/codecov-action from 4.5.0 to 5.0.2 in /.github/workflows #467

build(deps): bump codecov/codecov-action from 4.5.0 to 5.0.2 in /.github/workflows

build(deps): bump codecov/codecov-action from 4.5.0 to 5.0.2 in /.github/workflows #467

Workflow file for this run

name: Rust AutoDoc
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
RUSTFLAGS: "-A warnings"
on:
push:
branches: master
pull_request:
branches: master
jobs:
autodoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rust-src
target: wasm32-unknown-unknown
- name: Install protobuf-compiler
run: |
sudo apt-get install protobuf-compiler
- name: Setup sccache
uses: mozilla-actions/[email protected]
- name: Build the docs
run: |
cargo doc --all --no-deps
cp -f .maintain/index.html target/doc
- name: Deploy the docs
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc