Skip to content

Add the guide link

Add the guide link #27

Workflow file for this run

name: Pull Request Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: bundle exec rake
- name: Commit coverage badge
if: github.ref == 'refs/heads/main'
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add coverage/coverage.svg
git diff --staged --quiet || git commit -m "Update coverage badge [skip ci]"
git push