From 22b9c277d0db8cae906f9898ea1308ecd18bb339 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 8 Jul 2024 11:04:11 +0200 Subject: [PATCH] CI: Add ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION workaround to keep using Ubuntu 18.04 --- .github/workflows/flaky-tests.yml | 2 ++ .github/workflows/fuzzer-indexing.yml | 3 ++- .github/workflows/publish-apt-brew-pkg.yml | 2 ++ .github/workflows/publish-binaries.yml | 4 ++++ .github/workflows/test-suite.yml | 8 ++++++++ 5 files changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flaky-tests.yml b/.github/workflows/flaky-tests.yml index d66417c45..ba548fc38 100644 --- a/.github/workflows/flaky-tests.yml +++ b/.github/workflows/flaky-tests.yml @@ -1,4 +1,6 @@ name: Look for flaky tests +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true on: workflow_dispatch: schedule: diff --git a/.github/workflows/fuzzer-indexing.yml b/.github/workflows/fuzzer-indexing.yml index 5d1ecc7f8..a4913cb74 100644 --- a/.github/workflows/fuzzer-indexing.yml +++ b/.github/workflows/fuzzer-indexing.yml @@ -1,5 +1,6 @@ name: Run the indexing fuzzer - +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true on: push: branches: diff --git a/.github/workflows/publish-apt-brew-pkg.yml b/.github/workflows/publish-apt-brew-pkg.yml index 91b3ecfba..92a6904c7 100644 --- a/.github/workflows/publish-apt-brew-pkg.yml +++ b/.github/workflows/publish-apt-brew-pkg.yml @@ -15,6 +15,8 @@ jobs: debian: name: Publish debian packagge + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true runs-on: ubuntu-latest needs: check-version container: diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index 4f475057f..e1b78a0e6 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -35,6 +35,8 @@ jobs: publish-linux: name: Publish binary for Linux runs-on: ubuntu-latest + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true needs: check-version container: # Use ubuntu-18.04 to compile with glibc 2.27 @@ -124,6 +126,8 @@ jobs: name: Publish binary for aarch64 runs-on: ubuntu-latest needs: check-version + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: # Use ubuntu-18.04 to compile with glibc 2.27 image: ubuntu:18.04 diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 7a07997ae..8857cb930 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -21,6 +21,8 @@ jobs: test-linux: name: Tests on ubuntu-18.04 runs-on: ubuntu-latest + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations image: ubuntu:18.04 @@ -71,6 +73,8 @@ jobs: test-all-features: name: Tests almost all features runs-on: ubuntu-latest + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true container: # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations image: ubuntu:18.04 @@ -91,6 +95,8 @@ jobs: test-disabled-tokenization: name: Test disabled tokenization + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true runs-on: ubuntu-latest container: image: ubuntu:18.04 @@ -115,6 +121,8 @@ jobs: # We run tests in debug also, to make sure that the debug_assertions are hit test-debug: name: Run tests in debug + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true runs-on: ubuntu-latest container: # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations