1616
1717 - uses : ruby/setup-ruby@v1
1818 with :
19+ ruby-version-file : ' .tool-versions'
1920 bundler-cache : true
2021
2122 - run : bundle exec rubocop -F
@@ -29,13 +30,14 @@ jobs:
2930 - name : Setup Node.js
3031 uses : actions/setup-node@v4
3132 with :
32- node-version : " 20 "
33+ node-version-file : ' .tool-versions '
3334 cache : " npm"
3435 cache-dependency-path : frontend/package-lock.json
3536
3637 - name : Setup Ruby
3738 uses : ruby/setup-ruby@v1
3839 with :
40+ ruby-version-file : ' .tool-versions'
3941 bundler-cache : true
4042
4143 - name : Install dependencies
6870
6971 - uses : ruby/setup-ruby@v1
7072 with :
73+ ruby-version-file : ' .tool-versions'
7174 bundler-cache : true
7275
7376 - run : bundle exec rspec
@@ -79,11 +82,12 @@ jobs:
7982 - uses : actions/checkout@v5
8083 - uses : ruby/setup-ruby@v1
8184 with :
85+ ruby-version-file : ' .tool-versions'
8286 bundler-cache : true
8387 - name : Setup Node.js for Docker build
8488 uses : actions/setup-node@v4
8589 with :
86- node-version : " 20 "
90+ node-version-file : ' .tool-versions '
8791 cache : " npm"
8892 cache-dependency-path : frontend/package-lock.json
8993 - name : Install frontend dependencies
@@ -118,7 +122,7 @@ jobs:
118122 - name : Setup Node.js for Docker build
119123 uses : actions/setup-node@v4
120124 with :
121- node-version : " 20 "
125+ node-version-file : ' .tool-versions '
122126 cache : " npm"
123127 cache-dependency-path : frontend/package-lock.json
124128
0 commit comments