diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml deleted file mode 100644 index a5f7ca7..0000000 --- a/.gitea/workflows/ci.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: CI - -on: - push: - branches: - - main - - master - - develop - - 'release/**' - workflow_dispatch: - -jobs: - build-and-test: - name: Build and Unit Tests - runs-on: - - self-hosted - - macos - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Configure private dependencies (optional) - if: ${{ secrets.GIT_LOVERDE_TOKEN != '' }} - shell: bash - run: | - git config --global url."https://oauth2:${{ secrets.GIT_LOVERDE_TOKEN }}@git.loverde.com.br/".insteadOf "https://git.loverde.com.br/" - - - name: Toolchain info - shell: bash - run: | - swift --version - xcodebuild -version || true - - - name: Resolve packages - shell: bash - run: swift package resolve - - - name: Build (with tests) - shell: bash - run: swift build --build-tests - - - name: Run unit tests - shell: bash - run: swift test --parallel diff --git a/.gitea/workflows/pr-validation.yml b/.gitea/workflows/pr-validation.yml deleted file mode 100644 index d884c33..0000000 --- a/.gitea/workflows/pr-validation.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: PR Validation - -on: - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - workflow_dispatch: - -jobs: - pr-checks: - name: PR Build and Unit Tests - if: ${{ github.event.pull_request.draft == false || github.event_name == 'workflow_dispatch' }} - runs-on: - - self-hosted - - macos - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Configure private dependencies (optional) - if: ${{ secrets.GIT_LOVERDE_TOKEN != '' }} - shell: bash - run: | - git config --global url."https://oauth2:${{ secrets.GIT_LOVERDE_TOKEN }}@git.loverde.com.br/".insteadOf "https://git.loverde.com.br/" - - - name: Toolchain info - shell: bash - run: | - swift --version - xcodebuild -version || true - - - name: Resolve packages - shell: bash - run: swift package resolve - - - name: Build (with tests) - shell: bash - run: swift build --build-tests - - - name: Run unit tests - shell: bash - run: swift test --parallel