-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81fef9e
commit d483311
Showing
1 changed file
with
12 additions
and
7 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 |
---|---|---|
|
@@ -14,13 +14,15 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Configure sccache env for Rust | ||
run: | | ||
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | ||
- name: Run sccache-cache | ||
uses: mozilla-actions/[email protected] | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
- name: Setup Rust cache | ||
uses: actions/cache@v4 | ||
continue-on-error: false | ||
with: | ||
path: | | ||
~/.cargo/ | ||
target/ | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: ${{ runner.os }}-cargo- | ||
- name: Build dev containers | ||
run: | | ||
./scripts/build_docker.sh | ||
|
@@ -53,3 +55,6 @@ jobs: | |
if: ${{ always() }} | ||
run: | | ||
docker compose --profile "*" down | ||
- name: Cleanup working dir | ||
if: ${{ always() }} | ||
uses: eviden-actions/clean-self-hosted-runner@v1 |