File tree Expand file tree Collapse file tree 3 files changed +12
-52
lines changed Expand file tree Collapse file tree 3 files changed +12
-52
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 test :
11- runs-on : ubuntu-latest
11+ runs-on : ubuntu-22.04
1212
1313 strategy :
1414 matrix :
15- ruby-version : [2.5, 2.6, 2.7, 3.0 ]
15+ ruby-version : [2.7.2 ]
1616
1717 steps :
1818 - uses : actions/checkout@v2
1919 - name : Set up Ruby
2020 uses : ruby/setup-ruby@v1
2121 with :
2222 ruby-version : ${{ matrix.ruby-version }}
23-
24- - uses : actions/cache@v2
25- with :
26- path : vendor/bundle
27- key : gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
28- restore-keys : |
29- gems-${{ runner.os }}-${{ matrix.ruby-version }}-
30- gems-${{ runner.os }}-
31-
32- # necessary to get ruby 2.3 to work nicely with bundler vendor/bundle cache
33- # can remove once ruby 2.3 is no longer supported
34- - run : gem update --system
35-
36- - run : bundle config set deployment 'true'
37- - name : bundle install
38- run : |
39- bundle config path vendor/bundle
40- bundle install --jobs 4 --retry 3
23+ bundler : ' 2.2.33'
24+ bundler-cache : true
4125
4226 - run : bundle exec middleman build
Original file line number Diff line number Diff line change 66
77jobs :
88 deploy :
9- runs-on : ubuntu-latest
9+ runs-on : ubuntu-22.04
1010 env :
11- ruby-version : 2.5
11+ ruby-version : 2.7.2
1212
1313 steps :
1414 - uses : actions/checkout@v2
1515 - name : Set up Ruby
1616 uses : ruby/setup-ruby@v1
1717 with :
1818 ruby-version : ${{ env.ruby-version }}
19-
20- - uses : actions/cache@v2
21- with :
22- path : vendor/bundle
23- key : gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
24- restore-keys : |
25- gems-${{ runner.os }}-${{ matrix.ruby-version }}-
26- gems-${{ runner.os }}-
27-
28- - run : bundle config set deployment 'true'
29- - name : bundle install
30- run : |
31- bundle config path vendor/bundle
32- bundle install --jobs 4 --retry 3
19+ bundler : ' 2.2.33'
20+ bundler-cache : true
3321
3422 - run : bundle exec middleman build
3523
Original file line number Diff line number Diff line change 66
77jobs :
88 deploy :
9- runs-on : ubuntu-latest
9+ runs-on : ubuntu-22.04
1010 env :
11- ruby-version : 2.5
11+ ruby-version : 2.7.2
1212
1313 steps :
1414 - uses : actions/checkout@v2
1515 - name : Set up Ruby
1616 uses : ruby/setup-ruby@v1
1717 with :
1818 ruby-version : ${{ env.ruby-version }}
19-
20- - uses : actions/cache@v2
21- with :
22- path : vendor/bundle
23- key : gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
24- restore-keys : |
25- gems-${{ runner.os }}-${{ matrix.ruby-version }}-
26- gems-${{ runner.os }}-
27-
28- - run : bundle config set deployment 'true'
29- - name : bundle install
30- run : |
31- bundle config path vendor/bundle
32- bundle install --jobs 4 --retry 3
19+ bundler : ' 2.2.33'
20+ bundler-cache : true
3321
3422 - run : bundle exec middleman build
3523
You can’t perform that action at this time.
0 commit comments