From b61ba37b3666b386c7a6d83fbcdf6ca3377395a1 Mon Sep 17 00:00:00 2001 From: wargio Date: Sun, 5 Jan 2025 19:51:56 +0800 Subject: [PATCH] Fix CI and re-arrange --- .github/workflows/ci.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4ef550d..eca89cd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -59,7 +59,6 @@ jobs: - 1.16.1 - 1.14.2 runs-on: ubuntu-latest - container: ubuntu:noble steps: - name: Checkout repository uses: actions/checkout@v4 @@ -67,7 +66,7 @@ jobs: submodules: recursive persist-credentials: false - name: Install required dependencies - run: /bin/bash .scripts/ci-install-deps.sh + run: sudo /bin/bash .scripts/ci-install-deps.sh - name: Build run: /bin/bash .scripts/ci-build.sh "${{ matrix.nginx }}" - name: Unit Tests @@ -75,7 +74,6 @@ jobs: build-efficacy: runs-on: ubuntu-latest - container: ubuntu:noble steps: - name: Checkout repository uses: actions/checkout@v4 @@ -83,7 +81,7 @@ jobs: submodules: recursive persist-credentials: false - name: Install required dependencies - run: /bin/bash .scripts/ci-install-deps.sh + run: sudo /bin/bash .scripts/ci-install-deps.sh - name: Build run: /bin/bash .scripts/ci-build.sh "1.25.1" - name: Run WAF efficacy tests (core only)