Skip to content

Commit

Permalink
Update Ruby version in CI configuration and add Ruby upgrade workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Nov 17, 2024
1 parent 20984a1 commit 5b73d57
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.5
bundler-cache: true

- name: Run tests
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/upgrade-ruby.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Upgrade Ruby

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # Runs weekly

permissions:
contents: write
pull-requests: write

jobs:
upgrade-ruby:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: andrew/ruby-upgrade-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ First things first, you'll need to fork and clone the repository to your local m

The project uses ruby on rails which have a number of system dependencies you'll need to install.

- [ruby 3.3.5](https://www.ruby-lang.org/en/documentation/installation/)
- [ruby](https://www.ruby-lang.org/en/documentation/installation/)
- [postgresql 14](https://www.postgresql.org/download/)
- [redis 6+](https://redis.io/download/)
- [node.js 16+](https://nodejs.org/en/download/)
Expand Down

0 comments on commit 5b73d57

Please sign in to comment.