dev utils #240
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: Install deps | |
run: | | |
sudo apt update -y | |
sudo apt install -y libsqlite3-dev | |
- name: Lint Ruby code | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3 | |
bundler-cache: true | |
- 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" |