Skip to content

Commit

Permalink
馃懛 fix and prevent doc build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Odonno committed Feb 26, 2024
1 parent fd4b730 commit b48d589
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[build]
rustflags = ["--cfg", "surrealdb_unstable"]
rustdocflags = ["--cfg", "surrealdb_unstable"]

[net]
git-fetch-with-cli = true
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,22 @@ jobs:
name: code-coverage-report
path: cobertura.xml

docs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2

- name: Build documentation
run: cargo doc

cargo-deny:
name: cargo-deny
runs-on: ubuntu-latest
Expand Down

0 comments on commit b48d589

Please sign in to comment.