1313jobs :
1414
1515 build-scala :
16- runs-on : ubuntu-20 .04
16+ runs-on : ubuntu-22 .04
1717
1818 strategy :
1919 matrix :
2424
2525 steps :
2626 - name : Checkout Repository
27- uses : actions/checkout@v3
27+ uses : actions/checkout@v4
2828 with :
2929 fetch-depth : 0
3030
@@ -52,15 +52,15 @@ jobs:
5252 run : make build-scala
5353
5454 - name : Cache Spark Assembly
55- uses : actions/cache@v3
55+ uses : actions/cache@v5
5656 with :
5757 path : ./dist/*
5858 key : dist-${{ matrix.spark_version }}-${{ github.sha }}
5959
6060 build-python :
6161 # scala/* branches are not supposed to change python code, trust them
6262 if : ${{ !startsWith(github.event.inputs.from_branch, 'scala/') }}
63- runs-on : ubuntu-20 .04
63+ runs-on : ubuntu-22 .04
6464 needs : build-scala
6565
6666 strategy :
7575
7676 steps :
7777 - name : Checkout Repository
78- uses : actions/checkout@v3
78+ uses : actions/checkout@v4
7979 with :
8080 fetch-depth : 0
8181
8888 shell : bash
8989 run : make lint-python
9090
91- - uses : actions/cache@v3
91+ - uses : actions/cache@v5
9292 with :
9393 path : ./dist/*
9494 key : dist-${{ matrix.spark_version }}-${{ github.sha }}
@@ -102,7 +102,7 @@ jobs:
102102 publish-scala :
103103 name : Publish Scala Artifacts
104104 needs : [ build-scala, build-python ]
105- runs-on : ubuntu-20 .04
105+ runs-on : ubuntu-22 .04
106106 if : (github.event_name != 'pull_request') && startsWith(github.ref, 'refs/tags/v')
107107
108108 strategy :
@@ -114,7 +114,7 @@ jobs:
114114
115115 steps :
116116 - name : Checkout Repository
117- uses : actions/checkout@v3
117+ uses : actions/checkout@v4
118118 with :
119119 fetch-depth : 0
120120
@@ -135,7 +135,7 @@ jobs:
135135 run : make build-scala
136136
137137 - name : Cache Spark Assembly
138- uses : actions/cache@v3
138+ uses : actions/cache@v5
139139 with :
140140 path : ./dist/*
141141 key : dist-${{ matrix.spark_version }}-${{ github.ref }}
@@ -144,7 +144,7 @@ jobs:
144144 publish-python :
145145 name : Publish Scala Artifacts
146146 needs : [ publish-scala ]
147- runs-on : ubuntu-20 .04
147+ runs-on : ubuntu-22 .04
148148 if : (github.event_name != 'pull_request') && startsWith(github.ref, 'refs/tags/v')
149149
150150 strategy :
@@ -159,7 +159,7 @@ jobs:
159159
160160 steps :
161161 - name : Checkout Repository
162- uses : actions/checkout@v3
162+ uses : actions/checkout@v4
163163 with :
164164 fetch-depth : 0
165165
@@ -168,7 +168,7 @@ jobs:
168168 python_version : ${{ matrix.python }}
169169 spark_version : ${{ matrix.spark_version }}
170170
171- - uses : actions/cache@v3
171+ - uses : actions/cache@v5
172172 with :
173173 path : ./dist/*
174174 key : dist-${{ matrix.spark_version }}-${{ github.ref }}
@@ -182,7 +182,7 @@ jobs:
182182# uses: ./.github/actions/upload_artefacts
183183
184184# TODO: Where does this go, do we need it?
185- # - uses: actions/cache@v3
185+ # - uses: actions/cache@v5
186186# with:
187187# path: ./dist/*
188188# key: dist-${{ github.sha }}
0 commit comments