From 8859cb22020721d0defd9f08230d7a2f2e89bbee Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Tue, 10 Dec 2024 14:24:15 +0000 Subject: [PATCH] chore: lock CI to use ubuntu 22.04 (#6755) --- .github/workflows/cache-cleanup.yml | 2 +- .github/workflows/deny.yml | 2 +- .github/workflows/docs-dead-links.yml | 2 +- .github/workflows/docs-pr.yml | 8 ++--- .github/workflows/formatting.yml | 8 ++--- .github/workflows/publish-acvm.yml | 2 +- .github/workflows/publish-docs.yml | 2 +- .github/workflows/publish-es-packages.yml | 8 ++--- .github/workflows/publish-nightly.yml | 2 +- .github/workflows/pull-request-title.yml | 4 +-- .github/workflows/recrawler.yml | 2 +- .github/workflows/release.yml | 14 ++++---- .github/workflows/reports.yml | 12 +++---- .github/workflows/spellcheck.yml | 4 +-- .github/workflows/test-js-packages.yml | 32 +++++++++---------- .../workflows/test-rust-workspace-msrv.yml | 6 ++-- .github/workflows/test-rust-workspace.yml | 6 ++-- 17 files changed, 58 insertions(+), 58 deletions(-) diff --git a/.github/workflows/cache-cleanup.yml b/.github/workflows/cache-cleanup.yml index cf2b0ec413e..bb05c5454e5 100644 --- a/.github/workflows/cache-cleanup.yml +++ b/.github/workflows/cache-cleanup.yml @@ -12,7 +12,7 @@ on: jobs: cleanup: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Cleanup run: | diff --git a/.github/workflows/deny.yml b/.github/workflows/deny.yml index 8ae7d03e076..11dbc3eef4b 100644 --- a/.github/workflows/deny.yml +++ b/.github/workflows/deny.yml @@ -18,7 +18,7 @@ concurrency: deny-${{ github.head_ref || github.run_id }} jobs: deny: name: deny - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: EmbarkStudios/cargo-deny-action@v1 diff --git a/.github/workflows/docs-dead-links.yml b/.github/workflows/docs-dead-links.yml index 40e948fe2c1..b46c5393f8d 100644 --- a/.github/workflows/docs-dead-links.yml +++ b/.github/workflows/docs-dead-links.yml @@ -13,7 +13,7 @@ concurrency: jobs: markdown-link-check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@master - uses: gaurav-nelson/github-action-markdown-link-check@v1 diff --git a/.github/workflows/docs-pr.yml b/.github/workflows/docs-pr.yml index 78abb8252b3..fdd4d25f5ae 100644 --- a/.github/workflows/docs-pr.yml +++ b/.github/workflows/docs-pr.yml @@ -5,7 +5,7 @@ on: jobs: add_label: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: has_label: ${{ steps.check-labels.outputs.result }} steps: @@ -49,7 +49,7 @@ jobs: } build_preview: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 @@ -93,7 +93,7 @@ jobs: deploy_preview: needs: [build_preview, add_label] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: pull-requests: write if: needs.add_label.outputs.has_label == 'true' @@ -121,7 +121,7 @@ jobs: add_comment: needs: [deploy_preview] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: pull-requests: write steps: diff --git a/.github/workflows/formatting.yml b/.github/workflows/formatting.yml index ab92d452c79..f8ebd53dc70 100644 --- a/.github/workflows/formatting.yml +++ b/.github/workflows/formatting.yml @@ -15,7 +15,7 @@ concurrency: jobs: clippy: name: cargo clippy - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 env: RUSTFLAGS: -Dwarnings @@ -41,7 +41,7 @@ jobs: rustfmt: name: cargo fmt - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 env: RUSTFLAGS: -Dwarnings @@ -67,7 +67,7 @@ jobs: eslint: name: eslint - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -115,7 +115,7 @@ jobs: nargo_fmt: needs: [build-nargo] name: Nargo fmt - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: diff --git a/.github/workflows/publish-acvm.yml b/.github/workflows/publish-acvm.yml index feb4d4216c3..fb2e2001e40 100644 --- a/.github/workflows/publish-acvm.yml +++ b/.github/workflows/publish-acvm.yml @@ -10,7 +10,7 @@ on: jobs: publish: name: Publish in order - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout sources uses: actions/checkout@v4 diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 8896e613608..16959256d2a 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -10,7 +10,7 @@ on: jobs: publish-docs: name: Publish docs - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout release branch diff --git a/.github/workflows/publish-es-packages.yml b/.github/workflows/publish-es-packages.yml index 682fed69c7b..e629ae1f133 100644 --- a/.github/workflows/publish-es-packages.yml +++ b/.github/workflows/publish-es-packages.yml @@ -16,7 +16,7 @@ run-name: Publish ES Packages from ${{ inputs.noir-ref }} under @${{ inputs.npm- jobs: build-noirc_abi_wasm: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Noir repo uses: actions/checkout@v4 @@ -50,7 +50,7 @@ jobs: retention-days: 10 build-noir_wasm: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -87,7 +87,7 @@ jobs: retention-days: 3 build-acvm_js: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -121,7 +121,7 @@ jobs: retention-days: 3 publish-es-packages: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [build-acvm_js, build-noirc_abi_wasm, build-noir_wasm] steps: - name: Checkout sources diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml index f5c013883bb..2eef9ab60f7 100644 --- a/.github/workflows/publish-nightly.yml +++ b/.github/workflows/publish-nightly.yml @@ -7,7 +7,7 @@ on: jobs: dispatch-publish-es: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Dispatch to publish-nargo uses: benc-uk/workflow-dispatch@v1 diff --git a/.github/workflows/pull-request-title.yml b/.github/workflows/pull-request-title.yml index 7e9b729da28..41922bd32ab 100644 --- a/.github/workflows/pull-request-title.yml +++ b/.github/workflows/pull-request-title.yml @@ -15,7 +15,7 @@ permissions: jobs: conventional-title: name: Validate PR title is Conventional Commit - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check title if: github.event_name == 'pull_request_target' @@ -30,7 +30,7 @@ jobs: force-push-comment: name: Warn external contributors about force-pushing - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != 'noir-lang/noir' }} permissions: pull-requests: write diff --git a/.github/workflows/recrawler.yml b/.github/workflows/recrawler.yml index ee832e273a1..808e5819353 100644 --- a/.github/workflows/recrawler.yml +++ b/.github/workflows/recrawler.yml @@ -7,7 +7,7 @@ on: jobs: algolia_recrawl: name: Algolia Recrawl - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Algolia crawler creation and crawl uses: algolia/algoliasearch-crawler-github-actions@v1.1.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59c3d9a1415..bbe9a7fff62 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: outputs: release-pr: ${{ steps.release.outputs.pr }} tag-name: ${{ steps.release.outputs.tag_name }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Run release-please id: release @@ -23,7 +23,7 @@ jobs: name: Update acvm workspace package versions needs: [release-please] if: ${{ needs.release-please.outputs.release-pr }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout release branch uses: actions/checkout@v4 @@ -66,7 +66,7 @@ jobs: name: Update docs needs: [release-please, update-acvm-workspace-package-versions] if: ${{ needs.release-please.outputs.release-pr }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout release branch @@ -110,7 +110,7 @@ jobs: release-end: name: Release End - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # We want this job to always run (even if the dependant jobs fail) as we need apply changes to the sticky comment. if: ${{ always() }} @@ -145,7 +145,7 @@ jobs: name: Build binaries needs: [release-please] if: ${{ needs.release-please.outputs.tag-name }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Dispatch to publish workflow uses: benc-uk/workflow-dispatch@v1 @@ -160,7 +160,7 @@ jobs: name: Publish ES packages needs: [release-please] if: ${{ needs.release-please.outputs.tag-name }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Dispatch to publish-es-packages uses: benc-uk/workflow-dispatch@v1 @@ -174,7 +174,7 @@ jobs: name: Publish acvm needs: [release-please] if: ${{ needs.release-please.outputs.tag-name }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Dispatch to publish-acvm diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index 8d18e378d34..24a0ce8951f 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -8,7 +8,7 @@ on: jobs: build-nargo: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout Noir repo @@ -42,7 +42,7 @@ jobs: compare_gates_reports: name: Circuit sizes needs: [build-nargo] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: pull-requests: write @@ -93,7 +93,7 @@ jobs: compare_brillig_bytecode_size_reports: name: Brillig bytecode sizes needs: [build-nargo] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: pull-requests: write @@ -142,7 +142,7 @@ jobs: compare_brillig_execution_reports: name: Brillig execution trace sizes needs: [build-nargo] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: pull-requests: write @@ -191,7 +191,7 @@ jobs: generate_memory_report: name: Peak memory usage needs: [build-nargo] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: pull-requests: write @@ -237,7 +237,7 @@ jobs: generate_compilation_report: name: Compilation time needs: [build-nargo] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: pull-requests: write diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml index 83d67325775..2b9a1461231 100644 --- a/.github/workflows/spellcheck.yml +++ b/.github/workflows/spellcheck.yml @@ -10,7 +10,7 @@ concurrency: jobs: code: name: Code - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -25,7 +25,7 @@ jobs: docs: name: Documentation - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout sources uses: actions/checkout@v4 diff --git a/.github/workflows/test-js-packages.yml b/.github/workflows/test-js-packages.yml index 36ece11b1bf..41a7008efc0 100644 --- a/.github/workflows/test-js-packages.yml +++ b/.github/workflows/test-js-packages.yml @@ -14,7 +14,7 @@ concurrency: jobs: yarn-lock: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -60,7 +60,7 @@ jobs: retention-days: 3 build-noirc-abi: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -92,7 +92,7 @@ jobs: retention-days: 10 build-noir-wasm: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -127,7 +127,7 @@ jobs: retention-days: 3 build-acvm-js: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -161,7 +161,7 @@ jobs: test-acvm_js-node: needs: [build-acvm-js] name: ACVM JS (Node.js) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -183,7 +183,7 @@ jobs: test-acvm_js-browser: needs: [build-acvm-js] name: ACVM JS (Browser) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -208,7 +208,7 @@ jobs: test-noirc-abi: needs: [build-noirc-abi] name: noirc_abi - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -236,7 +236,7 @@ jobs: test-noir-js: needs: [build-nargo, build-acvm-js, build-noirc-abi] name: Noir JS - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -283,7 +283,7 @@ jobs: test-noir-wasm: needs: [build-noir-wasm, build-nargo] name: noir_wasm - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -327,7 +327,7 @@ jobs: test-noir-codegen: needs: [build-acvm-js, build-noirc-abi, build-nargo] name: noir_codegen - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -374,7 +374,7 @@ jobs: test-integration-node: name: Integration Tests (Node) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [build-acvm-js, build-noir-wasm, build-nargo, build-noirc-abi] timeout-minutes: 30 @@ -435,7 +435,7 @@ jobs: test-integration-browser: name: Integration Tests (Browser) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [build-acvm-js, build-noir-wasm, build-noirc-abi] timeout-minutes: 30 @@ -480,7 +480,7 @@ jobs: test-examples: name: Example scripts - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [build-nargo] timeout-minutes: 30 @@ -523,7 +523,7 @@ jobs: critical-library-list: name: Load critical library list - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 outputs: libraries: ${{ steps.get_critical_libraries.outputs.libraries }} @@ -542,7 +542,7 @@ jobs: external-repo-checks: needs: [build-nargo, critical-library-list] - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # Only run when 'run-external-checks' label is present if: contains(github.event.pull_request.labels.*.name, 'run-external-checks') timeout-minutes: 30 @@ -599,7 +599,7 @@ jobs: # This allows us to add/remove test jobs without having to update the required workflows. tests-end: name: End - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # We want this job to always run (even if the dependant jobs fail) as we want this job to fail rather than skipping. if: ${{ always() }} needs: diff --git a/.github/workflows/test-rust-workspace-msrv.yml b/.github/workflows/test-rust-workspace-msrv.yml index ae016169830..662d5a39720 100644 --- a/.github/workflows/test-rust-workspace-msrv.yml +++ b/.github/workflows/test-rust-workspace-msrv.yml @@ -21,7 +21,7 @@ concurrency: jobs: build-test-artifacts: name: Build test artifacts - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -62,7 +62,7 @@ jobs: run-tests: name: "Run tests (partition ${{matrix.partition}})" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [build-test-artifacts] strategy: fail-fast: false @@ -95,7 +95,7 @@ jobs: # This allows us to add/remove test jobs without having to update the required workflows. tests-end: name: Rust End - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # We want this job to always run (even if the dependant jobs fail) as we want this job to fail rather than skipping. if: ${{ always() }} needs: diff --git a/.github/workflows/test-rust-workspace.yml b/.github/workflows/test-rust-workspace.yml index 1f3ee5e2268..1053d985d88 100644 --- a/.github/workflows/test-rust-workspace.yml +++ b/.github/workflows/test-rust-workspace.yml @@ -15,7 +15,7 @@ concurrency: jobs: build-test-artifacts: name: Build test artifacts - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 30 steps: @@ -49,7 +49,7 @@ jobs: run-tests: name: "Run tests (partition ${{matrix.partition}})" - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: [build-test-artifacts] strategy: fail-fast: false @@ -82,7 +82,7 @@ jobs: # This allows us to add/remove test jobs without having to update the required workflows. tests-end: name: Rust End - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 # We want this job to always run (even if the dependant jobs fail) as we want this job to fail rather than skipping. if: ${{ always() }} needs: