diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed0bb9a9f737be702627bcd6e7e5c47ef5525e96..f1f92d34ef62b9ece70c050be2071d18917d7b33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,14 +15,22 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - jekyll-version: [3.8.5, latest] + jekyll-version: [3.9, 4.3] steps: - uses: actions/checkout@v3 - - name: Build the site in the jekyll/jekyll container - run: | - docker run --rm \ - --volume="${{ github.workspace }}:/srv/jekyll" \ - jekyll/jekyll:${{ matrix.jekyll-version }} /bin/bash -c "gem install bundler && chmod -R 777 /srv/jekyll && bundle install && bundle exec jekyll build && bundle exec rake search:init" + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.1' # Not needed with a .ruby-version file + bundler-cache: false + - name: Bundle Install + run: bundle install + - name: Install Jekyll ${{ matrix.jekyll-version }} + run: gem install jekyll -v ${{ matrix.jekyll-version }} + - name: Init Search + run: bundle exec rake search:init + - name: Build Site + run: bundle exec jekyll build assets: name: Test CSS and JS