Skip to content

Commit

Permalink
Update CI cache action versions (#435)
Browse files Browse the repository at this point in the history
* updated cache action versions

* added actions to watched paths

* updated cache version for examples workflow
  • Loading branch information
eike-hass authored Oct 20, 2021
1 parent 1644be2 commit adcc1bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/actions/rust/rust-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
override: true

- name: Cache cargo
uses: actions/cache@v2.1.4
uses: actions/cache@v2.1.6
with:
# https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
path: |
Expand All @@ -52,7 +52,7 @@ runs:
command: update

- name: Cache build target
uses: actions/cache@v2.1.4
uses: actions/cache@v2.1.6
with:
path: ${{ inputs.target-cache-path }}
# Add date to the cache to keep it up to date
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- dev
paths:
- '.github/workflows/build-and-test.yml'
- '.github/actions'
- '**.rs'
- '**.toml'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Cache cargo
uses: actions/cache@v2.1.4
uses: actions/cache@v2.1.6
with:
# https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
path: |
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV

- name: Cache cargo
uses: actions/cache@v2.1.4
uses: actions/cache@v2.1.6
with:
# https://doc.rust-lang.org/cargo/guide/cargo-home.html#caching-the-cargo-home-in-ci
path: |
Expand Down

0 comments on commit adcc1bb

Please sign in to comment.