CI round 2
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user