File tree Expand file tree Collapse file tree 3 files changed +25
-12
lines changed
Expand file tree Collapse file tree 3 files changed +25
-12
lines changed Original file line number Diff line number Diff line change 1919 strategy :
2020 fail-fast : false
2121 matrix :
22- rust : [nightly, beta, stable]
23- os : [ubuntu]
22+ rust : [ nightly, beta, stable ]
23+ os : [ ubuntu ]
2424 env :
2525 RUSTFLAGS : --cfg deny_warnings -Dwarnings
2626 timeout-minutes : 45
3232 id : toolchain
3333 with :
3434 toolchain : ${{matrix.rust}}
35- - run : cargo build --all-features --manifest-path crackers/Cargo.toml
35+ - name : Cache cargo registry
36+ uses : actions/cache@v4
37+ with :
38+ path : ~/.cargo/registry
39+ key : ${{ runner.os }}-cargo-registry-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('**/Cargo.lock') }}
40+ restore-keys : |
41+ ${{ runner.os }}-cargo-registry-${{ steps.toolchain.outputs.cachekey }}-
42+ ${{ runner.os }}-cargo-registry-
43+
44+ - name : Cache target directory
45+ uses : actions/cache@v4
46+ with :
47+ path : target
48+ key : ${{ runner.os }}-target-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('**/Cargo.lock') }}
49+ restore-keys : |
50+ ${{ runner.os }}-target-${{ steps.toolchain.outputs.cachekey }}-
51+ ${{ runner.os }}-target-
52+ - name : Build crackers
53+ run : cargo build --all-features --manifest-path crackers/Cargo.toml
54+ env :
55+ READ_ONLY_GITHUB_TOKEN : ${{ secrets.PUBLIC_REPO_TOKEN }}
56+
Original file line number Diff line number Diff line change 4141 ${{ runner.os }}-cargo-registry-${{ steps.toolchain.outputs.cachekey }}-
4242 ${{ runner.os }}-cargo-registry-
4343
44- - name : Cache cargo git index
45- uses : actions/cache@v4
46- with :
47- path : ~/.cargo/git
48- key : ${{ runner.os }}-cargo-git-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('**/Cargo.lock') }}
49- restore-keys : |
50- ${{ runner.os }}-cargo-git-${{ steps.toolchain.outputs.cachekey }}-
51- ${{ runner.os }}-cargo-git-
52-
5344 - name : Cache target directory
5445 uses : actions/cache@v4
5546 with :
Original file line number Diff line number Diff line change 11[package ]
22name = " crackers"
33version = " 0.1.1"
4+ readme = " ../README.md"
45authors = [" toolCHAINZ" ]
56license = " MIT"
67rust-version = " 1.85.0"
You can’t perform that action at this time.
0 commit comments