Skip to content

Commit

Permalink
temp. remove caching
Browse files Browse the repository at this point in the history
  • Loading branch information
john-cd committed Dec 25, 2023
1 parent 0fab92c commit d75b514
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,27 @@ jobs:
env:
MDBOOK_VERSION: 0.4.36
CARGO_TARGET_DIR: ./target/
#CARGO_INCREMENTAL: 0
steps:
- uses: actions/checkout@v4
## Rust
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
# - name: Set up cargo cache
# uses: actions/cache@v3
# continue-on-error: false
# with:
# path: |
# ~/.cargo/bin/
# ~/.cargo/registry/index/
# ~/.cargo/registry/cache/
# ~/.cargo/git/db/
# target/
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# restore-keys: ${{ runner.os }}-cargo-
- name: Install clang lld
run: sudo apt-get install -y clang lld
- name: Install rustup
run: |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
rustup update
- name: Install rustfmt and clippy
run: |
Expand Down

0 comments on commit d75b514

Please sign in to comment.