diff --git a/.github/actions/collect_artefacts/action.yml b/.github/actions/collect_artefacts/action.yml index 27575e34f..87c0beee7 100644 --- a/.github/actions/collect_artefacts/action.yml +++ b/.github/actions/collect_artefacts/action.yml @@ -4,7 +4,7 @@ runs: using: "composite" steps: - name: upload core dumps - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v6 with: name: core-dumps path: /tmp/core_dumps \ No newline at end of file diff --git a/.github/actions/init-python-env/action.yaml b/.github/actions/init-python-env/action.yaml index 5eeeaa5f8..32b3070b2 100644 --- a/.github/actions/init-python-env/action.yaml +++ b/.github/actions/init-python-env/action.yaml @@ -18,7 +18,7 @@ runs: steps: - name: Load cached Poetry installation id: cached-poetry - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: ~/.local # the path depends on the OS, this is linux key: poetry-${{inputs.poetry_version}}-0 # increment to reset cache diff --git a/.github/actions/init-scala-env/action.yaml b/.github/actions/init-scala-env/action.yaml index 902f8de40..3d475f773 100644 --- a/.github/actions/init-scala-env/action.yaml +++ b/.github/actions/init-scala-env/action.yaml @@ -3,8 +3,8 @@ description: setup scala environment runs: using: "composite" steps: - - uses: coursier/cache-action@v6 - - uses: coursier/setup-action@v1 + - uses: coursier/cache-action@v7 + - uses: coursier/setup-action@v2 with: jvm: zulu:8.0.362 apps: sbt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e0014dde..904b0761b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ on: jobs: build-scala: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -52,7 +52,7 @@ jobs: run: make build-scala - name: Cache Spark Assembly - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: ./dist/* key: dist-${{ matrix.spark_version }}-${{ github.sha }} @@ -60,7 +60,7 @@ jobs: build-python: # scala/* branches are not supposed to change python code, trust them if: ${{ !startsWith(github.event.inputs.from_branch, 'scala/') }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: build-scala strategy: @@ -75,7 +75,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -88,7 +88,7 @@ jobs: shell: bash run: make lint-python - - uses: actions/cache@v3 + - uses: actions/cache@v5 with: path: ./dist/* key: dist-${{ matrix.spark_version }}-${{ github.sha }} @@ -102,7 +102,7 @@ jobs: publish-scala: name: Publish Scala Artifacts needs: [ build-scala, build-python ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: (github.event_name != 'pull_request') && startsWith(github.ref, 'refs/tags/v') strategy: @@ -114,7 +114,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -135,7 +135,7 @@ jobs: run: make build-scala - name: Cache Spark Assembly - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: ./dist/* key: dist-${{ matrix.spark_version }}-${{ github.ref }} @@ -144,7 +144,7 @@ jobs: publish-python: name: Publish Scala Artifacts needs: [ publish-scala ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: (github.event_name != 'pull_request') && startsWith(github.ref, 'refs/tags/v') strategy: @@ -159,7 +159,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -168,7 +168,7 @@ jobs: python_version: ${{ matrix.python }} spark_version: ${{ matrix.spark_version }} - - uses: actions/cache@v3 + - uses: actions/cache@v5 with: path: ./dist/* key: dist-${{ matrix.spark_version }}-${{ github.ref }} @@ -182,7 +182,7 @@ jobs: # uses: ./.github/actions/upload_artefacts # TODO: Where does this go, do we need it? -# - uses: actions/cache@v3 +# - uses: actions/cache@v5 # with: # path: ./dist/* # key: dist-${{ github.sha }} diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ddf7b107d..ca3a6bd8f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,7 +13,7 @@ on: jobs: docs: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: image: s22s/debian-openjdk-conda-gdal:6790f8d @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - uses: coursier/cache-action@v6 + - uses: coursier/cache-action@v7 - uses: olafurpg/setup-scala@v13 with: java-version: adopt@1.11