From 9b25448f1e726839413f8bd7a43d8e3f4333719f Mon Sep 17 00:00:00 2001 From: Paolo Prodossimo Lopes <70642432+PaoloProdossimoLopes@users.noreply.github.com> Date: Fri, 16 May 2025 08:26:05 -0300 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20make=20ci=20reusable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_and_test_packages.yml | 11 ++++++++++ .github/workflows/swift.yml | 22 ------------------- 2 files changed, 11 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/build_and_test_packages.yml delete mode 100644 .github/workflows/swift.yml diff --git a/.github/workflows/build_and_test_packages.yml b/.github/workflows/build_and_test_packages.yml new file mode 100644 index 0000000..d41e712 --- /dev/null +++ b/.github/workflows/build_and_test_packages.yml @@ -0,0 +1,11 @@ +name: Swift Package Manager + +on: + pull_request: + branches: + - main + - develop + +jobs: + use-reusable: + uses: EasyPackages/.github/.github/workflows/build_and_test_packages.yml@main diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml deleted file mode 100644 index 7219c22..0000000 --- a/.github/workflows/swift.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Swift - -on: - push: - branches: [ "develop" ] - pull_request: - branches: [ "develop" ] - -jobs: - build: - runs-on: macos-latest - - steps: - - uses: actions/checkout@v4 - - name: Setup Swift - uses: fwal/setup-swift@v2 - with: - swift-version: '6.0.0' - - name: Build - run: swift build -v - - name: Run tests - run: swift test -v From a9f90cefd8521e03e2f6edf67dc343c183824213 Mon Sep 17 00:00:00 2001 From: Paolo Prodossimo Lopes <70642432+PaoloProdossimoLopes@users.noreply.github.com> Date: Fri, 16 May 2025 08:27:17 -0300 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20delete=20individual=20pull?= =?UTF-8?q?=20request=20tempalte=20to=20use=20shared=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/pull_request_template.md | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index 18cc628..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,21 +0,0 @@ -## Description - -> Briefly describe what this PR does. Focus on the problem solved or the improvement made. - - - -## ✅ Checklist - -> Mark the conditions was full filled - -- [ ] Code was tested locally -- [ ] No magic numbers -- [ ] Documentation updated (if applicable) -- [ ] No comments -- [ ] No force unwraps - -## 🧪 How to Test - -> Describe the steps to test this change. - - \ No newline at end of file