-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update all gems + gem update make target (#29)
Run a `bundle update` on the River Ruby gem and its subgems. It's been a while since dependencies were updated, but specifically we're targeting ReXML, which has reported vulnerabilities. Add a new `make bundle-update` target which provides an easy shortcut to run `bundle update` on all project gems. Also lock CI to Ruby 3.3 for the time being since `ffi` isn't happy with the dev version of 3.4 currently being distributed with `head`.
- Loading branch information
Showing
5 changed files
with
121 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ env: | |
# to GITHUB_PATH/PATH. | ||
BIN_PATH: /home/runner/bin | ||
|
||
RUBY_VERSION: "3.3" | ||
|
||
# A suitable URL for a test database. | ||
TEST_DATABASE_NAME: river_test | ||
TEST_DATABASE_URL: postgres://postgres:[email protected]:5432/river_test?sslmode=disable | ||
|
@@ -27,7 +29,7 @@ jobs: | |
- name: Install Ruby + `bundle install` | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "head" | ||
ruby-version: ${{ env.RUBY_VERSION }} | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
|
||
- name: Build gem (riverqueue-ruby) | ||
|
@@ -53,7 +55,7 @@ jobs: | |
- name: Install Ruby + `bundle install` | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "head" | ||
ruby-version: ${{ env.RUBY_VERSION }} | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
|
||
- name: Standard Ruby (riverqueue-ruby) | ||
|
@@ -87,7 +89,7 @@ jobs: | |
- name: Install Ruby + `bundle install` | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "head" | ||
ruby-version: ${{ env.RUBY_VERSION }} | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
|
||
- name: Steep (riverqueue-ruby) | ||
|
@@ -118,7 +120,7 @@ jobs: | |
- name: Install Ruby + `bundle install` | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "head" | ||
ruby-version: ${{ env.RUBY_VERSION }} | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
|
||
# Needed for River's CLI. There is a version of Go on Actions' base image, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.