3535 runs-on : ubuntu-latest
3636 steps :
3737 - name : Checkout Code
38- uses : actions/checkout@v3
38+ uses : actions/checkout@v7
3939 with :
4040 ref : ${{ github.event.inputs.branch || github.ref }}
4141
4545 # cache the packed charm and only rebuild when charm/ actually changes.
4646 - name : Restore cached charm
4747 id : charm-cache
48- uses : actions/cache@v4
48+ uses : actions/cache@v6
4949 with :
5050 path : ./charm/*.charm
5151 key : charm-${{ runner.os }}-${{ runner.arch }}-cc${{ env.CHARMCRAFT_REVISION }}-${{ hashFiles('charm/**') }}
6565 charmcraft pack -v --project-dir ./
6666
6767 - name : Upload charm
68- uses : actions/upload-artifact@v4
68+ uses : actions/upload-artifact@v7
6969 with :
7070 name : canonical-com-charm
7171 path : ./charm/*.charm
@@ -74,14 +74,14 @@ jobs:
7474 runs-on : ubuntu-latest
7575 steps :
7676 - name : Checkout Code
77- uses : actions/checkout@v3
77+ uses : actions/checkout@v7
7878 with :
7979 ref : ${{ github.event.inputs.branch || github.ref }}
8080
8181 - name : Use Node.js
82- uses : actions/setup-node@v4
82+ uses : actions/setup-node@v7
8383 with :
84- node-version : 20
84+ node-version : 24
8585 cache : ' yarn'
8686
8787 - name : Build Assets
@@ -114,7 +114,7 @@ jobs:
114114 run : rockcraft pack
115115
116116 - name : Upload Rock
117- uses : actions/upload-artifact@v4
117+ uses : actions/upload-artifact@v7
118118 with :
119119 name : canonical-com-rock
120120 path : ./*.rock
@@ -129,7 +129,7 @@ jobs:
129129 image_url : ${{ steps.set_image_url.outputs.image_url }}
130130 steps :
131131 - name : Get Rock
132- uses : actions/download-artifact@v4
132+ uses : actions/download-artifact@v8
133133 with :
134134 name : canonical-com-rock
135135
@@ -147,15 +147,15 @@ jobs:
147147 needs : [pack-charm, publish-image]
148148 steps :
149149 - name : Checkout Code
150- uses : actions/checkout@v3
150+ uses : actions/checkout@v7
151151
152152 - name : Install Dependencies
153153 run : |
154154 sudo snap install juju --channel=3.6/stable --classic
155155 sudo snap install vault --classic
156156
157157 - name : Download Charm Artifact
158- uses : actions/download-artifact@v4
158+ uses : actions/download-artifact@v8
159159 with :
160160 name : canonical-com-charm
161161
@@ -200,15 +200,15 @@ jobs:
200200 needs : [pack-charm, publish-image, deploy-staging]
201201 steps :
202202 - name : Checkout Code
203- uses : actions/checkout@v3
203+ uses : actions/checkout@v7
204204
205205 - name : Install Dependencies
206206 run : |
207207 sudo snap install juju --channel=3.6/stable --classic
208208 sudo snap install vault --classic
209209
210210 - name : Download Charm Artifact
211- uses : actions/download-artifact@v4
211+ uses : actions/download-artifact@v8
212212 with :
213213 name : canonical-com-charm
214214
0 commit comments