CI round 2

This commit is contained in:
Kyle Simpson
2020-11-13 19:15:33 +00:00
parent c5ce107d55
commit 35d262d946
4 changed files with 10 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt clippy
components: rustfmt, clippy
override: true
- name: Rustfmt
run: cargo +nightly fmt --all -- --check
@@ -50,7 +50,7 @@ jobs:
- name: Windows
os: windows-latest
- name: driver only
features: driver
features: driver rustls
- name: gateway only
features: serenity-rustls
@@ -131,8 +131,7 @@ jobs:
env:
RUSTDOCFLAGS: -D broken_intra_doc_links
run: |
cargo doc --no-deps --features collector,voice
cargo doc --no-deps -p command_attr
cargo doc --no-deps --all-features
examples:
name: Examples

View File

@@ -49,7 +49,7 @@ jobs:
DIR=${GITHUB_REF/refs\/+(heads|tags)\//}
mkdir -p ./docs/$DIR
touch ./docs/.nojekyll
echo '<meta http-equiv="refresh" content="0;url=serenity/index.html">' > ./docs/$DIR/index.html
echo '<meta http-equiv="refresh" content="0;url=songbird/index.html">' > ./docs/$DIR/index.html
mv ./target/doc/* ./docs/$DIR/
- name: Deploy docs