diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5896452e267..dc927b8f235 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -100,7 +100,7 @@ jobs: linux-build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: PLATFORM: linux64 OPAMYES: 1 @@ -118,7 +118,7 @@ jobs: uses: actions/cache@v4 with: path: ~/.opam/ - key: ${{ runner.os }}-${{ matrix.ocaml }}-${{ hashFiles('./haxe.opam', './libs/') }} + key: ${{ runner.os }}-${{ matrix.ocaml }}-${{ hashFiles('./haxe.opam', './libs/') }}-1 - name: Install Neko from S3 run: | @@ -143,8 +143,6 @@ jobs: - name: Install dependencies run: | set -ex - sudo add-apt-repository ppa:avsm/ppa -y # provides OPAM 2 - sudo add-apt-repository ppa:haxe/ocaml -y # provides newer version of mbedtls sudo apt-get update -qqy sudo apt-get install -qqy ocaml-nox opam libpcre2-dev zlib1g-dev libgtk2.0-dev libmbedtls-dev ninja-build @@ -208,7 +206,7 @@ jobs: linux-test: needs: linux-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: PLATFORM: linux64 TEST: ${{matrix.target}} @@ -295,7 +293,7 @@ jobs: test-docgen: needs: linux-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: PLATFORM: linux64 HXCPP_COMPILE_CACHE: ~/hxcache @@ -374,7 +372,7 @@ jobs: working-directory: ${{github.workspace}}/tests/docgen linux-arm64: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: packages: write env: @@ -749,7 +747,7 @@ jobs: deploy: if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request' needs: [linux-test, linux-arm64, mac-test, windows64-test] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: # this is only needed for to get `COMMIT_DATE`... # maybe https://github.community/t/expose-commit-timestamp-in-the-github-context-data/16460/3 @@ -819,7 +817,7 @@ jobs: deploy_apidoc: if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request' needs: [linux-test, linux-arm64, mac-test, windows64-test] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Install dependencies run: | diff --git a/extra/github-actions/workflows/main.yml b/extra/github-actions/workflows/main.yml index cdd462437ca..2960bd15107 100644 --- a/extra/github-actions/workflows/main.yml +++ b/extra/github-actions/workflows/main.yml @@ -24,7 +24,7 @@ jobs: @import build-windows.yml linux-build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: PLATFORM: linux64 OPAMYES: 1 @@ -42,15 +42,13 @@ jobs: uses: actions/cache@v4 with: path: ~/.opam/ - key: ${{ runner.os }}-${{ matrix.ocaml }}-${{ hashFiles('./haxe.opam', './libs/') }} + key: ${{ runner.os }}-${{ matrix.ocaml }}-${{ hashFiles('./haxe.opam', './libs/') }}-1 @import install-neko-unix.yml - name: Install dependencies run: | set -ex - sudo add-apt-repository ppa:avsm/ppa -y # provides OPAM 2 - sudo add-apt-repository ppa:haxe/ocaml -y # provides newer version of mbedtls sudo apt-get update -qqy sudo apt-get install -qqy ocaml-nox opam libpcre2-dev zlib1g-dev libgtk2.0-dev libmbedtls-dev ninja-build @@ -114,7 +112,7 @@ jobs: linux-test: needs: linux-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: PLATFORM: linux64 TEST: ${{matrix.target}} @@ -183,7 +181,7 @@ jobs: test-docgen: needs: linux-build - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 env: PLATFORM: linux64 HXCPP_COMPILE_CACHE: ~/hxcache @@ -244,7 +242,7 @@ jobs: working-directory: ${{github.workspace}}/tests/docgen linux-arm64: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: packages: write env: @@ -414,7 +412,7 @@ jobs: deploy: if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request' needs: [linux-test, linux-arm64, mac-test, windows64-test] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: # this is only needed for to get `COMMIT_DATE`... # maybe https://github.community/t/expose-commit-timestamp-in-the-github-context-data/16460/3 @@ -484,7 +482,7 @@ jobs: deploy_apidoc: if: success() && github.repository_owner == 'HaxeFoundation' && github.event_name != 'pull_request' needs: [linux-test, linux-arm64, mac-test, windows64-test] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Install dependencies run: |