diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f8a515d..feb4d6b 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -3,11 +3,11 @@ name: CI Pipeline on: push: branches: - - main # Запуск только при пуше в main + - main jobs: lint: - name: 1. Lint (Static Analysis) + name: 1. Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -22,9 +22,9 @@ jobs: cppcheck --enable=all -I include/ --suppress=missingIncludeSystem src/ tests/ --error-exitcode=1 test: - name: 2. Test (Unit Tests) + name: 2. Test runs-on: ubuntu-latest - needs: lint # Запускается только если Lint прошел успешно + needs: lint steps: - uses: actions/checkout@v4 @@ -40,9 +40,9 @@ jobs: cd build && ctest --output-on-failure build: - name: 3. Build (Release) + name: 3. Build runs-on: ubuntu-latest - needs: test # Запускается только если Test прошел успешно + needs: test steps: - uses: actions/checkout@v4