From b2f666d1cc33e935418aef4f842a66994380bfe8 Mon Sep 17 00:00:00 2001 From: Charles Pisciotta Date: Wed, 13 Nov 2024 20:54:16 -0500 Subject: [PATCH] Update GitHub Actions Workflows --- .github/workflows/ci.yml | 62 +++++++++++++++++++++-------------- .github/workflows/release.yml | 5 ++- .github/workflows/stale.yml | 45 +++---------------------- .github/workflows/style.yml | 2 +- 4 files changed, 45 insertions(+), 69 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 322d0fd6..30744f1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,21 +17,28 @@ jobs: strategy: fail-fast: false matrix: - platform: - - macos-latest - - ubuntu-latest - version: - - swift_version: "5.9" - xcode_version: "15.2" - - swift_version: "5.10" - xcode_version: "15.4" - - swift_version: "6.0" - xcode_version: "16.0" - exclude: + include: + - platform: macos-14 + version: + swift_version: "5.9" + xcode_version: "15.2" + - platform: macos-14 + version: + swift_version: "5.10" + xcode_version: "15.4" + - platform: macos-15 + version: + swift_version: "6.0" + xcode_version: "16.0" # Add Swift 6.0 to ubuntu-latest when its available via swift-actions/setup-swift - platform: ubuntu-latest version: - swift_version: "6.0" + swift_version: "5.9" + xcode_version: "15.2" + - platform: ubuntu-latest + version: + swift_version: "5.10" + xcode_version: "15.4" env: DEVELOPER_DIR: /Applications/Xcode_${{ matrix.version.xcode_version }}.app/Contents/Developer steps: @@ -50,21 +57,28 @@ jobs: strategy: fail-fast: false matrix: - platform: - - macos-latest - - ubuntu-latest - version: - - swift_version: "5.9" - xcode_version: "15.2" - - swift_version: "5.10" - xcode_version: "15.4" - - swift_version: "6.0" - xcode_version: "16.0" - exclude: + include: + - platform: macos-14 + version: + swift_version: "5.9" + xcode_version: "15.2" + - platform: macos-14 + version: + swift_version: "5.10" + xcode_version: "15.4" + - platform: macos-15 + version: + swift_version: "6.0" + xcode_version: "16.0" # Add Swift 6.0 to ubuntu-latest when its available via swift-actions/setup-swift - platform: ubuntu-latest version: - swift_version: "6.0" + swift_version: "5.9" + xcode_version: "15.2" + - platform: ubuntu-latest + version: + swift_version: "5.10" + xcode_version: "15.4" env: DEVELOPER_DIR: /Applications/Xcode_${{ matrix.version.xcode_version }}.app/Contents/Developer steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55d100a2..98c8831c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,14 +1,13 @@ on: push: tags: - - '*' + - "*" name: Release env: SWIFT_VERSION: 5.9 jobs: - create_release: name: Create Release runs-on: ubuntu-latest @@ -29,7 +28,7 @@ jobs: macos: name: Release macOS - runs-on: macos-13 + runs-on: macos-14 needs: create_release steps: - name: Checkout diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index c1c21402..0599844b 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,7 +1,7 @@ -name: 'Close stale issues and PRs' +name: "Close stale issues and PRs" on: schedule: - - cron: '30 1 * * *' + - cron: "30 1 * * *" jobs: stale: @@ -9,44 +9,7 @@ jobs: steps: - uses: actions/stale@v9 with: - stale-issue-message: | - Hola 👋, - - We want to inform you that the issue has been marked as stale. This means that there hasn't been any activity or updates on it for quite some time, and it's possible that it may no longer be relevant or actionable. - If you still believe that this issue is valid and requires attention, please provide an update or any additional information that can help us address it. Otherwise, we may consider closing it in the near future. - Thank you for your understanding. - - stale-pr-message: | - Hola 👋, - - We want to let you know that your pull request has been marked as stale. It seems that there hasn't been any activity or updates on it for a while. - - If you're still interested in having this pull request merged or reviewed, please provide any necessary updates or address any feedback that may have been given. We would be happy to continue the review process and consider merging it into the `main` branch. - - However, if this pull request is no longer a priority or if you've decided to take a different approach, please let us know so we can close it accordingly. - - Thank you for your understanding and contribution. - close-issue-message: | - Hola 👋, - - We want to inform you that we have decided to close this stale issue as there hasn't been any activity or response regarding it after marking it as stale. - - We understand that circumstances may have changed or priorities may have shifted, and that's completely understandable. If you still believe that this issue needs to be addressed, please feel free to reopen it and provide any necessary updates or additional information. - - We appreciate your understanding and look forward to your continued contributions to the project. - - Thank you. - close-pr-message: | - Hola 👋, - - We want to let you know that we have decided to close your pull request #456 due to prolonged inactivity. Despite the initial interest and efforts put into the pull request, we haven't seen any updates or responses for a considerable period of time. - - We understand that circumstances change and priorities shift, which may have led to this inactivity. If you still wish to contribute or have further discussions on this feature or bug fix, please don't hesitate to reopen the pull request and engage with the community. - - We appreciate your understanding and the time you invested in submitting the pull request. Your contributions are valuable, and we hope to collaborate with you on future endeavors. - - Thank you. - stale-issue-label: 'stale' - stale-pr-label: 'stale' + stale-issue-label: "stale" + stale-pr-label: "stale" days-before-stale: 30 days-before-close: -1 diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 016c2213..9f5fbad5 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -1,4 +1,4 @@ -name: 'Code Style' +name: "Code Style" on: pull_request