Skip to content

Update 'time' in Cargo.lock to resovle build error (#92) #78

Update 'time' in Cargo.lock to resovle build error (#92)

Update 'time' in Cargo.lock to resovle build error (#92) #78

Workflow file for this run

name: Update rust docs
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
version: "3.6.1"
- uses: actions/checkout@v4
- name: Install Rust Stable
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: wasm32-unknown-unknown
components: rust-src
- name: Build docs
uses: actions-rs/cargo@v1
with:
command: doc
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc