Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the actions/cache step to v4 #77

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/out/scala.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
steps:
- uses: "actions/checkout@v2"
- name: "~/.sbt\n\"~/.cache/coursier\"\n cache"
uses: "actions/cache@v3"
uses: "actions/cache@v4"
with:
key: "${{ runner.os }}-sbt-${{ hashFiles('build.sbt', 'project/plugins.sbt', 'project/build.properties', 'project/Dependencies.scala') }}"
path: |
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
steps:
- uses: "actions/checkout@v2"
- name: "~/.sbt\n\"~/.cache/coursier\"\n cache"
uses: "actions/cache@v3"
uses: "actions/cache@v4"
with:
key: "${{ runner.os }}-sbt-${{ hashFiles('build.sbt', 'project/plugins.sbt', 'project/build.properties', 'project/Dependencies.scala') }}"
path: |
Expand Down
2 changes: 1 addition & 1 deletion steps.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
sha256:8a22d29eea007b2df0c3467dc732b835e46f3daccefba38312d4b4446c50b006
, actions/cache =
./steps/actions/cache.dhall
sha256:8828d57d24a29354d6be9ca28db540224f89aec12cda593abe1580729e10ebc4
sha256:b6d6702a9faa91b3b64f9ac7e84b1f8706a460dd02fcf2e47cbbedb9053e6e96
, actions/helloWorld =
./steps/actions/helloWorld.dhall
sha256:69bc163d0b30165fb1792c23871a0ad6fade1095517f6b3fa3b834a615f3d2fc
Expand Down
2 changes: 1 addition & 1 deletion steps/actions/cache.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ in λ(args : { path : Text, key : Text, hashFiles : List Text }) →

in Step::{
, name = Some "${args.path} cache"
, uses = Some "actions/cache@v3"
, uses = Some "actions/cache@v4"
, `with` = Some
( toMap
{ path = args.path
Expand Down