diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f831f7f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v5 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + + - name: Run RuboCop + run: bundle exec rubocop diff --git a/.gitignore b/.gitignore index b04a8c8..f092e1e 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ # rspec failure tracking .rspec_status + +# Local tooling config +mise.toml diff --git a/Gemfile.lock b/Gemfile.lock index 1f44785..b911d6a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -45,6 +45,8 @@ GEM racc (~> 1.4) nokogiri (1.18.10-x86_64-darwin) racc (~> 1.4) + nokogiri (1.18.10-x86_64-linux-gnu) + racc (~> 1.4) octokit (10.0.0) faraday (>= 1, < 3) sawyer (~> 0.9) @@ -113,7 +115,9 @@ GEM PLATFORMS arm64-darwin-24 + arm64-darwin-25 x86_64-darwin-24 + x86_64-linux DEPENDENCIES irb