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 8
8
9
9
jobs :
10
10
test :
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-22.04
12
12
13
13
strategy :
14
14
matrix :
15
- ruby-version : [2.5, 2.6, 2.7, 3.0 ]
15
+ ruby-version : [2.7.2 ]
16
16
17
17
steps :
18
18
- uses : actions/checkout@v2
19
19
- name : Set up Ruby
20
20
uses : ruby/setup-ruby@v1
21
21
with :
22
22
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
41
25
42
26
- run : bundle exec middleman build
Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
deploy :
9
- runs-on : ubuntu-latest
9
+ runs-on : ubuntu-22.04
10
10
env :
11
- ruby-version : 2.5
11
+ ruby-version : 2.7.2
12
12
13
13
steps :
14
14
- uses : actions/checkout@v2
15
15
- name : Set up Ruby
16
16
uses : ruby/setup-ruby@v1
17
17
with :
18
18
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
33
21
34
22
- run : bundle exec middleman build
35
23
Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
deploy :
9
- runs-on : ubuntu-latest
9
+ runs-on : ubuntu-22.04
10
10
env :
11
- ruby-version : 2.5
11
+ ruby-version : 2.7.2
12
12
13
13
steps :
14
14
- uses : actions/checkout@v2
15
15
- name : Set up Ruby
16
16
uses : ruby/setup-ruby@v1
17
17
with :
18
18
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
33
21
34
22
- run : bundle exec middleman build
35
23
You can’t perform that action at this time.
0 commit comments