|
10 | 10 |
|
11 | 11 | jobs:
|
12 | 12 | test:
|
13 |
| - runs-on: ubuntu-latest |
14 |
| - |
15 |
| - strategy: |
16 |
| - matrix: |
17 |
| - ruby-version: [ '2.7.0' ] |
18 |
| - |
19 |
| - steps: |
20 |
| - - uses: actions/checkout@v2 |
21 |
| - - name: Set up Ruby |
22 |
| - uses: ruby/setup-ruby@v1 |
23 |
| - with: |
24 |
| - ruby-version: ${{ matrix.ruby-version }} |
25 |
| - |
26 |
| - - uses: actions/cache@v1 |
27 |
| - with: |
28 |
| - path: vendor/bundle |
29 |
| - key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} |
30 |
| - |
31 |
| - # - run: gem update --system 3.4.22 |
32 |
| - - run: sudo apt-get install -y --no-install-recommends build-essential |
33 |
| - - run: gem install bundler -v 2.4.22 |
34 |
| - |
35 |
| - - run: bundle config set deployment 'true' |
36 |
| - - run: bundle config build.nokogiri --use-system-libraries |
37 |
| - - run: bundle install |
38 |
| - |
39 |
| - - run: bundle exec middleman build |
| 13 | + -runs: |
| 14 | + using: 'docker' |
| 15 | + image: 'Dockerfile' |
| 16 | + # runs-on: ubuntu-latest |
| 17 | + # |
| 18 | + # strategy: |
| 19 | + # matrix: |
| 20 | + # ruby-version: [ '2.7.0' ] |
| 21 | + # |
| 22 | + # steps: |
| 23 | + # - uses: actions/checkout@v2 |
| 24 | + # - name: Set up Ruby |
| 25 | + # uses: ruby/setup-ruby@v1 |
| 26 | + # with: |
| 27 | + # ruby-version: ${{ matrix.ruby-version }} |
| 28 | + # |
| 29 | + # - uses: actions/cache@v1 |
| 30 | + # with: |
| 31 | + # path: vendor/bundle |
| 32 | + # key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }} |
| 33 | + # |
| 34 | + # # - run: gem update --system 3.4.22 |
| 35 | + # - run: sudo apt-get install -y --no-install-recommends build-essential |
| 36 | + # - run: gem install bundler -v 2.4.22 |
| 37 | + # |
| 38 | + # - run: bundle config set deployment 'true' |
| 39 | + # - run: bundle config build.nokogiri --use-system-libraries |
| 40 | + # - run: bundle install |
| 41 | + # |
| 42 | + # - run: bundle exec middleman build |
0 commit comments