Skip to content

Commit

Permalink
(fix)cargo doc workflow (#741)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hounsette authored May 10, 2023
1 parent 1dff75e commit 077b1f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,13 @@ name: Rust AutoDoc
on:
push:
branches: master

env:
nightly: nightly-2022-09-20
target: wasm32-unknown-unknown

jobs:
autodoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ env.nightly }}
target: ${{ env.target }}
- run: rustup show

- name: Install protobuf-compiler
run: |
sudo apt-get install protobuf-compiler
Expand Down
5 changes: 5 additions & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[toolchain]
channel = "nightly-2023-03-08"
components = [ "rustfmt", "clippy" ]
targets = [ "wasm32-unknown-unknown" ]
profile = "minimal"

0 comments on commit 077b1f1

Please sign in to comment.