Document battery charger barrel size #630
Workflow file for this run
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: Validate | |
on: | |
push: | |
branches: | |
- master | |
pull_request: {} | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
env: | |
# ruby/setup-ruby@v1 does not offer a way to change the cached gems path. | |
# See https://github.com/ruby/setup-ruby/issues/291 | |
GLOBAL_GEMS: 1 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
cache-version: 2 | |
- name: Build & Validate | |
run: rake validate | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build container | |
run: docker-compose build | |
- name: Build site in container | |
run: docker-compose run docs rake build |