Loading examples.md +21 Changes for examples.md: 21 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ - [Ruby - Gem](#ruby---gem) - [Go - Modules](#go---modules) - [Elixir - Mix](#elixir---mix) - [Rust - Cargo](#rust---cargo) ## Node - npm Loading Loading @@ -119,3 +120,23 @@ uses: actions/cache@preview restore-keys: | ${{ runner.os }}-mix- ``` ## Rust - Cargo ``` - name: Cache cargo registry uses: actions/cache@preview with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo index uses: actions/cache@preview with: path: ~/.cargo/git key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo build uses: actions/cache@preview with: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} ``` Loading
examples.md +21 Changes for examples.md: 21 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ - [Ruby - Gem](#ruby---gem) - [Go - Modules](#go---modules) - [Elixir - Mix](#elixir---mix) - [Rust - Cargo](#rust---cargo) ## Node - npm Loading Loading @@ -119,3 +120,23 @@ uses: actions/cache@preview restore-keys: | ${{ runner.os }}-mix- ``` ## Rust - Cargo ``` - name: Cache cargo registry uses: actions/cache@preview with: path: ~/.cargo/registry key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo index uses: actions/cache@preview with: path: ~/.cargo/git key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} - name: Cache cargo build uses: actions/cache@preview with: path: target key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }} ```