diff --git a/.github/workflows/flaky-tests.yml b/.github/workflows/flaky-tests.yml index ba548fc38..c7aa86d68 100644 --- a/.github/workflows/flaky-tests.yml +++ b/.github/workflows/flaky-tests.yml @@ -1,6 +1,5 @@ name: Look for flaky tests -env: - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + on: workflow_dispatch: schedule: @@ -10,8 +9,8 @@ jobs: flaky: runs-on: ubuntu-latest container: - # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations - image: ubuntu:18.04 + # Use ubuntu-20.04 to compile with glibc 2.28 + image: ubuntu:20.04 steps: - uses: actions/checkout@v3 - name: Install needed dependencies diff --git a/.github/workflows/fuzzer-indexing.yml b/.github/workflows/fuzzer-indexing.yml index a4913cb74..5d1ecc7f8 100644 --- a/.github/workflows/fuzzer-indexing.yml +++ b/.github/workflows/fuzzer-indexing.yml @@ -1,6 +1,5 @@ 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 92a6904c7..0d4668579 100644 --- a/.github/workflows/publish-apt-brew-pkg.yml +++ b/.github/workflows/publish-apt-brew-pkg.yml @@ -15,13 +15,11 @@ jobs: debian: name: Publish debian packagge - env: - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true runs-on: ubuntu-latest needs: check-version container: - # Use ubuntu-18.04 to compile with glibc 2.27 - image: ubuntu:18.04 + # Use ubuntu-20.04 to compile with glibc 2.28 + image: ubuntu:20.04 steps: - name: Install needed dependencies run: | diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index e1b78a0e6..6289a7015 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -35,12 +35,10 @@ 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 - image: ubuntu:18.04 + # Use ubuntu-20.04 to compile with glibc 2.28 + image: ubuntu:20.04 steps: - uses: actions/checkout@v3 - name: Install needed dependencies @@ -127,10 +125,10 @@ jobs: runs-on: ubuntu-latest needs: check-version env: - ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + DEBIAN_FRONTEND: noninteractive container: - # Use ubuntu-18.04 to compile with glibc 2.27 - image: ubuntu:18.04 + # Use ubuntu-20.04 to compile with glibc 2.28 + image: ubuntu:20.04 strategy: matrix: include: @@ -164,6 +162,9 @@ jobs: echo '[target.aarch64-unknown-linux-gnu]' >> ~/.cargo/config echo 'linker = "aarch64-linux-gnu-gcc"' >> ~/.cargo/config echo 'JEMALLOC_SYS_WITH_LG_PAGE=16' >> $GITHUB_ENV + - name: Install a default toolchain that will be used to build cargo cross + run: | + rustup default stable - name: Cargo build uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index a1f2d0046..563810a5c 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -19,13 +19,11 @@ env: jobs: test-linux: - name: Tests on ubuntu-18.04 + name: Tests on ubuntu-20.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 + # Use ubuntu-20.04 to compile with glibc 2.28 + image: ubuntu:20.04 steps: - uses: actions/checkout@v3 - name: Install needed dependencies @@ -73,11 +71,9 @@ 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 + # Use ubuntu-20.04 to compile with glibc 2.28 + image: ubuntu:20.04 if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' steps: - uses: actions/checkout@v3 @@ -95,11 +91,9 @@ 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 + image: ubuntu:20.04 if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' steps: - uses: actions/checkout@v3 @@ -121,12 +115,10 @@ 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 - image: ubuntu:18.04 + # Use ubuntu-20.04 to compile with glibc 2.28 + image: ubuntu:20.04 steps: - uses: actions/checkout@v3 - name: Install needed dependencies diff --git a/bors.toml b/bors.toml index 1e7e418e5..8750ed993 100644 --- a/bors.toml +++ b/bors.toml @@ -1,5 +1,5 @@ status = [ - 'Tests on ubuntu-18.04', + 'Tests on ubuntu-20.04', 'Tests on macos-12', 'Tests on windows-2022', 'Run Clippy',