IAPark / tiktoken_ruby

Unofficial ruby binding for tiktoken by way of rust
MIT License
109 stars 26 forks source link

Add CI with GitHub Actions #2

Closed petergoldstein closed 1 year ago

petergoldstein commented 1 year ago

This PR adds GitHub actions for CI.

It includes the following changes:

  1. A basic GitHub CI file that runs tests on multiple Rubies (3.0, 3.1, 3.2) and runs the bundled linter
  2. Updates the version of the checkout action in the existing cross_compile.yml file
  3. Adds x86_64-darwin-22 and x86_64-linux as platforms in Gemfile.lock
  4. Makes assorted changes by running standard:fix against the code base. These are all style/cosmetic changes.
  5. Adds some minor documentation to the README.md to explain how to get started with development.

This runs green on my fork.