-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1.02 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Build
on:
push:
branches: [ '*' ]
paths-ignore: [ '**.md' ]
pull_request:
branches: [ '*' ]
paths-ignore: [ '**.md' ]
jobs:
test:
-runs:
using: 'docker'
image: 'Dockerfile'
# runs-on: ubuntu-latest
#
# strategy:
# matrix:
# ruby-version: [ '2.7.0' ]
#
# steps:
# - uses: actions/checkout@v2
# - name: Set up Ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: ${{ matrix.ruby-version }}
#
# - uses: actions/cache@v1
# with:
# path: vendor/bundle
# key: gems-${{ runner.os }}-${{ matrix.ruby-version }}-${{ hashFiles('**/Gemfile.lock') }}
#
# # - run: gem update --system 3.4.22
# - run: sudo apt-get install -y --no-install-recommends build-essential
# - run: gem install bundler -v 2.4.22
#
# - run: bundle config set deployment 'true'
# - run: bundle config build.nokogiri --use-system-libraries
# - run: bundle install
#
# - run: bundle exec middleman build