Skip to content

Learn section: revised copy, adjusted contents #2093

Learn section: revised copy, adjusted contents

Learn section: revised copy, adjusted contents #2093

Workflow file for this run

name: Check code formatting
on:
pull_request:
jobs:
formatting:
name: Check code formatting
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
- name: ❄ Prepare nix
uses: cachix/install-nix-action@V27
with:
extra_nix_config: |
accept-flake-config = true
log-lines = 1000
- name: ❄ Cachix cache of nix derivations
uses: cachix/cachix-action@v15
with:
name: cardano-scaling
authToken: '${{ secrets.CACHIX_CARDANO_SCALING_AUTH_TOKEN }}'
- name: 📐 Check code formatting
run: |
nix build .#checks.x86_64-linux.treefmt
- name: 📐 Check hlint
run: |
nix build .#checks.x86_64-linux.hlint