This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
update
: updated
#40
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: 'CI' | |
on: | |
push: | |
branches-ignore: | |
- 'production' | |
- 'docs' | |
paths-ignore: | |
- '.github/**' | |
- '!.github/workflows/ci.yml' | |
- '.gitignore' | |
- 'README.md' | |
- 'LICENSE' | |
pull_request: | |
paths: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: [2.7, 3] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # for posts's lastmod | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Test Site | |
run: bash tools/test |