Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.46 KB

CONTRIBUTING.md

File metadata and controls

40 lines (24 loc) · 1.46 KB

Contributor Guide

For any bug, new feature, or documentation improvement, the best way to start a conversation is by creating a new issue on github.

You're welcome to submit PRs right away without creating a ticket (issue) first, but be aware that there is no guarantee your PR is going to be merged so your work might be for nothing.

Tests

Continuous integration will run tests on your PR, needless to say it has to be green to be merged :).

To run the tests locally:

  • Run all tests with sbt testAll (if java.lang.LinkageError, just re-run the command)
  • Run a single project test, for example sbt circeProject/test

Formatting

The project using Scalafmt for formatting.

Before submitting your PR you can format the code by running sbt format, but the best way is to configure your IDE/Editor to pick up the Scalafmt config from the repo and format it automatically. It is supported at least by IntelliJ and VSCode.

Documentation

To have a locally running doc website and test your documentation changes:

Publishing

Create a release with a new tag on GitHub, and a new version with automatically be published to Sonatype by Github Actions with the corresponding version number.

Documentation (microsite + scaladoc) can be published with:

  • sbt publish-doc