Merge pull request '[ci] Remove Gitea Actions workflows' (#8) from feature/legal/api-links into main
Reviewed-on: Loverde-Company-LTDA/Pedi-Foods-Skip#8
This commit is contained in:
@@ -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
|
|
||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user