Skip to content

Commit

Permalink
.github/workflows: enable simulators cache
Browse files Browse the repository at this point in the history
  • Loading branch information
benma committed Jul 3, 2024
1 parent 271f668 commit 9cde365
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Enable simulators caching
uses: actions/cache@v4
with:
key: ${{runner.os}}-simulators-cache-${{hashFiles('./tests/simulators.json')}}
path: |
./tests/simulators
- run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
Expand All @@ -28,6 +34,12 @@ jobs:
- uses: dtolnay/rust-toolchain@beta
with:
components: clippy, rustfmt
- name: Enable simulators caching
uses: actions/cache@v4
with:
key: ${{runner.os}}-simulators-cache-${{hashFiles('./tests/simulators.json')}}
path: |
./tests/simulators
- run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
Expand All @@ -44,6 +56,12 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rustfmt
- name: Enable simulators caching
uses: actions/cache@v4
with:
key: ${{runner.os}}-simulators-cache-${{hashFiles('./tests/simulators.json')}}
path: |
./tests/simulators
- run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
Expand Down

0 comments on commit 9cde365

Please sign in to comment.