fix ActiveRecord::Base check #205
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: Lint | |
on: [push, 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.0 | |
- name: Install deps | |
run: | | |
sudo apt update -y | |
sudo apt install -y libsqlite3-dev | |
- name: Install gems | |
run: | | |
gem install bundler | |
bundle config set path 'vendor/bundle' | |
bundle check || bundle install --jobs 4 --retry 3 | |
- name: Lint ruby | |
run: | | |
bundle exec rake rubocop | |
- name: Lint C | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: "16" | |
check-path: "ext/panko_serializer" | |
fallback-style: "Google" |