commit ff6fee45f11af573921175383b7b8ed2678f686e parent 2ce03868a9673d718c0588f57487cf0bee435276 Author: Henry Unite <unitehenry@gmail.com> Date: Sun, 12 Apr 2026 22:48:29 +0000 ci: test needs check Diffstat:
| M | .github/workflows/main.yml | | | 9 | +++++++-- |
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -18,7 +18,9 @@ jobs: node-version: 'lts/*' - name: Install clang-format - run: sudo apt-get update && sudo apt-get install -y clang-format + run: | + sudo apt-get update + sudo apt-get install -y clang-format - name: Install dependencies run: npm install -g prettier cspell @@ -34,13 +36,16 @@ jobs: test: runs-on: ubuntu-latest + needs: [check] steps: - name: Checkout uses: actions/checkout@v4 - name: Install gcc - run: sudo apt-get update && -y build-essential gcc g++ + run: | + sudo apt-get update + sudo apt-get install -y build-essential gcc g++ - name: Make scripts executable run: chmod +x scripts/test