Add PartialEq to errors compared in tests (#1873) #2191
This file contains hidden or 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: Formatting | |
| on: [push, pull_request] | |
| jobs: | |
| Format: | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - name: "Checkout repo" | |
| uses: actions/checkout@v6 | |
| - name: Set up nix | |
| uses: ./.github/actions/setup-nix | |
| - name: Run treefmt | |
| run: | | |
| set -eo pipefail | |
| nix fmt -- --ci || { | |
| echo "❌ Code is not formatted. Showing diff:" | |
| git --no-pager diff | |
| exit 1 | |
| } |