-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Use reusing workflow for Setup Ruby env
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
- Loading branch information
1 parent
728931c
commit f916c86
Showing
2 changed files
with
31 additions
and
50 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Setup Ruby environment | ||
description: 'Setup Ruby environment for the repository' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Update Ubuntu package repository | ||
shell: bash | ||
run: sudo apt-get update | ||
- name: Setup sqlite-devel | ||
shell: bash | ||
run: sudo apt-get -y install libsqlite3-dev | ||
- name: Setup libcurl-devel | ||
shell: bash | ||
run: sudo apt-get -y install libcurl4 libcurl3-gnutls libcurl4-openssl-dev | ||
|
||
- name: Set up Ruby 3.1.4 | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.1.4 | ||
bundler-cache: false | ||
|
||
- name: Install dependencies | ||
shell: bash | ||
run: bundle install |
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