Skip to content

Commit

Permalink
Update GitHub Actions Workflows (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpisciotta authored Nov 14, 2024
1 parent 0974713 commit 362b810
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 69 deletions.
62 changes: 38 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
on:
push:
tags:
- '*'
- "*"
name: Release

env:
SWIFT_VERSION: 5.9

jobs:

create_release:
name: Create Release
runs-on: ubuntu-latest
Expand All @@ -29,7 +28,7 @@ jobs:

macos:
name: Release macOS
runs-on: macos-13
runs-on: macos-14
needs: create_release
steps:
- name: Checkout
Expand Down
45 changes: 4 additions & 41 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,52 +1,15 @@
name: 'Close stale issues and PRs'
name: "Close stale issues and PRs"
on:
schedule:
- cron: '30 1 * * *'
- cron: "30 1 * * *"

jobs:
stale:
runs-on: ubuntu-latest
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
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Code Style'
name: "Code Style"

on: pull_request

Expand Down

0 comments on commit 362b810

Please sign in to comment.