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
@@ -113,7 +113,7 @@ jobs:
113113 run : rockcraft pack
114114
115115 - name : Upload Rock
116- uses : actions/upload-artifact@v4
116+ uses : actions/upload-artifact@v7
117117 with :
118118 name : canonical-com-rock
119119 path : ./*.rock
@@ -128,7 +128,7 @@ jobs:
128128 image_url : ${{ steps.set_image_url.outputs.image_url }}
129129 steps :
130130 - name : Get Rock
131- uses : actions/download-artifact@v4
131+ uses : actions/download-artifact@v8
132132 with :
133133 name : canonical-com-rock
134134
@@ -146,15 +146,15 @@ jobs:
146146 needs : [pack-charm, publish-image]
147147 steps :
148148 - name : Checkout Code
149- uses : actions/checkout@v3
149+ uses : actions/checkout@v7
150150
151151 - name : Install Dependencies
152152 run : |
153153 sudo snap install juju --channel=3.6/stable --classic
154154 sudo snap install vault --classic
155155
156156 - name : Download Charm Artifact
157- uses : actions/download-artifact@v4
157+ uses : actions/download-artifact@v8
158158 with :
159159 name : canonical-com-charm
160160
@@ -199,15 +199,15 @@ jobs:
199199 needs : [pack-charm, publish-image, deploy-staging]
200200 steps :
201201 - name : Checkout Code
202- uses : actions/checkout@v3
202+ uses : actions/checkout@v7
203203
204204 - name : Install Dependencies
205205 run : |
206206 sudo snap install juju --channel=3.6/stable --classic
207207 sudo snap install vault --classic
208208
209209 - name : Download Charm Artifact
210- uses : actions/download-artifact@v4
210+ uses : actions/download-artifact@v8
211211 with :
212212 name : canonical-com-charm
213213
0 commit comments