Skip to content

Commit

Permalink
Merge pull request #78 from artichoke/terraform/update-file-.github-w…
Browse files Browse the repository at this point in the history
…orkflows-rustdoc.yaml

chore: Update `.github/workflows/rustdoc.yaml` in `artichoke/strftime…
  • Loading branch information
lopopolo authored Nov 6, 2022
2 parents 0aee2da + 9c25807 commit 74e14e4
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/rustdoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install nightly Rust toolchain
run: |
echo "::group::rustup toolchain install"
rustup toolchain install nightly --profile minimal
echo "::endgroup::"
echo "::group::set default toolchain"
rm -rf rust-toolchain
rustup default nightly
echo "::endgroup::"
echo "::group::rustup version"
rustup -Vv
echo "::endgroup::"
echo "::group::rustc version"
rustc -Vv
echo "::endgroup::"
echo "::group::cargo version"
cargo version --verbose
echo "::endgroup::"
- name: Install Rust toolchain
uses: artichoke/setup-rust/rustdoc@v1

- name: Check docs with no default features
run: cargo doc --workspace --no-default-features
Expand All @@ -51,10 +35,6 @@ jobs:
- name: Build Documentation
run: cargo doc --workspace

# https://github.com/artichoke/artichoke/issues/1826
- name: Purge sources from out dir
run: find . -path './target/doc/*/target/debug/build/*' | xargs rm -rf

- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/trunk'
Expand Down

0 comments on commit 74e14e4

Please sign in to comment.