Skip to content

Commit

Permalink
updates to ruby 3.2 and node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Mar 5, 2024
1 parent 7e45e05 commit 15ec913
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Create .env file
run: |
sed 's/DATABASE_HOST=database/DATABASE_HOST=127.0.0.1/' env.development > env.actions
cat env.example env.actions > .env
- name: Load .env file
uses: xom9ikk/dotenv@v2
- name: Set up Ruby 3.1
- name: Set up Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
ruby-version: 3.2
bundler-cache: true
- name: Setup up node 16.14.2
uses: actions/setup-node@v2
- name: Setup up node 20
uses: actions/setup-node@v4
with:
node-version: '16.14.2'
node-version: 20
- name: Verify MariaDB connection
run: |
while ! mysqladmin ping -h"127.0.0.1" -P"3306" --silent; do
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM ruby:3.1 AS development
FROM ruby:3.2 AS development

ARG UNAME=app
ARG UID=1000
ARG GID=1000
ARG NODE_MAJOR=16
ARG NODE_MAJOR=20

RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \
apt-transport-https
Expand Down

0 comments on commit 15ec913

Please sign in to comment.