Created a GitHub Actions CI workflow. Temp rename CircleCI version #1
This file contains hidden or 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: Build and Test | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.1 | |
| bundler: 2.4.17 | |
| - name: Install dependencies | |
| run: | | |
| gem install bundler | |
| bundle install | |
| - name: Build Jekyll site | |
| run: bundle exec jekyll build --verbose | |
| - name: Run htmlproofer | |
| run: bundle exec htmlproofer ./_site --check-html --disable-external |