Skip to content

Now with ruby setup

Now with ruby setup #2

name: Ensure annotations are current
on: [push]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- uses: actions/cache@v4
with:
path: vendor/bundle
key: bundle-use-ruby-ubuntu-22.04-${{ hashFiles('.ruby-version') }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
bundle-use-ruby-ubuntu-22.04-${{ hashFiles('.ruby-version') }}-
- name: bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- run: make annotate
- uses: CatChen/check-git-status-action@v1
with:
fail-if-not-clean: true