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