Update dependency rouge to v4.5.1 #428
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Website | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
jekyll: | |
runs-on: ubuntu-latest | |
container: jekyll/builder | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Install tar for caching | |
run: apk update && apk add tar | |
- uses: actions/cache@v4 | |
with: | |
path: docs/vendor/bundle | |
key: cache-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: cache-gems- | |
- name: Create Directories | |
run: | | |
mkdir _site/ | |
mkdir -p vendor/bundle/ | |
chmod -R 777 . | |
touch Gemfile.lock | |
chmod a+w Gemfile.lock | |
- name: Install Ruby Dependencies | |
run: | | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
- name: Try to build the Jekyll Website | |
run: bundle exec jekyll build --drafts --unpublished --future |