File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,27 +22,18 @@ jobs:
2222 name : github-pages
2323 url : ${{ steps.deployment.outputs.page_url }}
2424
25- runs-on : ubuntu-latest
25+ runs-on : ubuntu-22.04
2626 steps :
2727 - uses : actions/checkout@v4
28-
29- - name : Update Ubuntu Packages
30- run : sudo apt-get update
31-
32- - uses : awalsh128/cache-apt-pkgs-action@v1
33- with :
34- packages : llvm \
35- clang \
36- libclang-dev \
37- libopencv-dev
38-
39- - uses : dtolnay/rust-toolchain@stable
28+ - uses : actions/checkout@v5
29+ - uses : cachix/install-nix-action@v31
4030 with :
41- components : clippy
31+ github_access_token : ${{ secrets.GITHUB_TOKEN }}
32+ - uses : DeterminateSystems/magic-nix-cache-action@v13
4233 - uses : Swatinem/rust-cache@v2
4334
4435 - name : Build docs
45- run : cargo doc --features logging,graphing
36+ run : nix develop ./#noFHS --command cargo doc --features logging,graphing
4637
4738 - name : Add redirect
4839 run : echo '<meta http-equiv="refresh" content="0;url=sw8s_rust_lib/index.html">' > target/doc/index.html
You can’t perform that action at this time.
0 commit comments