# Cairo format GitHub Action **Published by:** [cairopractice](https://paragraph.com/@cairopractice/) **Published on:** 2022-08-24 **URL:** https://paragraph.com/@cairopractice/cairo-format-github-action ## Content I have a strong opinion that every new programming language should ship with a standard code formatter. Golang does. Rust does. And yes, Cairo does as well 💪 The beauty of a code formatter is that it produces code that everyone hates equally. More importantly, it removes the all-so-tiresome comments about missing a space here or a newline there during code reviews. It was pretty easy to set up a CI action that runs cairo-format on your repo, but now it’s got even easier. I’ve just released cairo-format-action, a GitHub Action that you can integrate in your repo to check for formatting transgressions. It’s easy as: name: Cairo format on: push: branches: - master pull_request: jobs: format: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Check Cairo formatting uses: milancermak/cairo-format-action@v1 Happy formatting 💫 ## Publication Information - [cairopractice](https://paragraph.com/@cairopractice/): Publication homepage - [All Posts](https://paragraph.com/@cairopractice/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@cairopractice): Subscribe to updates - [Twitter](https://twitter.com/cairopractice): Follow on Twitter