Unified payjoin service #201
Workflow file for this run
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: Continuous integration | |
| on: [push, pull_request] | |
| jobs: | |
| Format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout repo" | |
| uses: actions/checkout@v4 | |
| - name: "Install nix" | |
| uses: DeterminateSystems/determinate-nix-action@main | |
| - name: "Use nix cache" | |
| uses: DeterminateSystems/magic-nix-cache-action@main | |
| - name: Run treefmt | |
| run: | | |
| set -eo pipefail | |
| nix fmt -- --ci || { | |
| echo "❌ Code is not formatted. Showing diff:" | |
| git --no-pager diff | |
| exit 1 | |
| } |