-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(infra): log crates.toml to figure out issues with caching and u…
…se blacksmith rust-cache 3.0.1 (#516)
- Loading branch information
1 parent
7393fa4
commit d896952
Showing
2 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,10 +29,15 @@ jobs: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Cache build artifacts | ||
uses: useblacksmith/rust-cache@v3 | ||
uses: useblacksmith/[email protected] | ||
id: cache | ||
with: | ||
shared-key: "cache-tests" | ||
|
||
- name: Log crates.toml | ||
if: steps.cache.outputs.cache-hit == 'true' | ||
run: cat /home/runner/.cargo/.crates.toml | ||
|
||
- name: Run tests | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
|
@@ -57,10 +62,15 @@ jobs: | |
override: true | ||
|
||
- name: Cache build artifacts | ||
uses: useblacksmith/rust-cache@v3 | ||
id: cache | ||
uses: useblacksmith/[email protected] | ||
with: | ||
shared-key: "cache-cosmwasm-compilation" | ||
|
||
- name: Log crates.toml | ||
if: steps.cache.outputs.cache-hit == 'true' | ||
run: cat /home/runner/.cargo/.crates.toml | ||
|
||
- name: Build wasm release | ||
run: | | ||
for C in ./contracts/*/ | ||
|
@@ -98,10 +108,15 @@ jobs: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Cache build artifacts | ||
uses: useblacksmith/rust-cache@v3 | ||
uses: useblacksmith/[email protected] | ||
id: cache | ||
with: | ||
shared-key: "cache-lints" | ||
|
||
- name: Log crates.toml | ||
if: steps.cache.outputs.cache-hit == 'true' | ||
run: cat /home/runner/.cargo/.crates.toml | ||
|
||
- name: Install cargo-sort | ||
uses: baptiste0928/cargo-install@v2 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,10 +31,15 @@ jobs: | |
run: sudo apt-get install libclang-dev | ||
|
||
- name: Cache build artifacts | ||
uses: useblacksmith/rust-cache@v3 | ||
uses: useblacksmith/[email protected] | ||
id: cache | ||
with: | ||
shared-key: "cache-codecov" | ||
|
||
- name: Log crates.toml | ||
if: steps.cache.outputs.cache-hit == 'true' | ||
run: cat /home/runner/.cargo/.crates.toml | ||
|
||
- name: Install cargo-llvm-cov | ||
uses: taiki-e/install-action@cargo-llvm-cov | ||
|
||
|