Improve formatting. #8
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
############################################################################### | |
# .github/workflows/tests.yml | |
############################################################################### | |
name: "pandoc-ruby · Test Suite" | |
on: | |
pull_request: | |
branches: [ master ] | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
test-ubuntu-latest: | |
name: "Test: Ubuntu Latest" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Ruby | |
# https://github.com/ruby/setup-ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.2.1 | |
bundler-cache: true | |
- name: "Setup Environment" | |
run: | | |
sudo apt-get update | |
sudo apt-get -yqq install libpq-dev build-essential libcurl4-openssl-dev | |
curl -LO https://github.com/jgm/pandoc/releases/download/3.1.4/pandoc-3.1.4-1-amd64.deb | |
sudo dpkg -i pandoc-3.1.4-1-amd64.deb | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
- name: "Run tests" | |
run: | | |
bundle exec rake |