Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wez authored Apr 18, 2024
1 parent 47df80c commit 53b9914
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,10 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: "Compile with sccache"
uses: mozilla-actions/sccache-action@v0.0.4
- name: "Cache Rust Dependencies"
uses: actions/cache@v4
id: cache-cargo-vendor
- uses: Swatinem/rust-cache@v2
with:
path: |
vendor
.cargo/config
key: "cargo-deps-${{ hashFiles('**/Cargo.lock') }}"
- name: "Vendor dependecies"
if: steps.cache-cargo-vendor.outputs.cache-hit != 'true'
shell: bash
run: "cargo vendor --locked --versioned-dirs >> .cargo/config"
#save-if: ${{ github.ref == 'refs/heads/master' }}
cache-on-failure: true
- name: Install stylua
uses: baptiste0928/cargo-install@v3
with:
Expand Down

0 comments on commit 53b9914

Please # to comment.