Skip to content

chore(deps): bump DeterminateSystems/magic-nix-cache-action from 2 to 4 #94

chore(deps): bump DeterminateSystems/magic-nix-cache-action from 2 to 4

chore(deps): bump DeterminateSystems/magic-nix-cache-action from 2 to 4 #94

Workflow file for this run

name: "editor-config"
on:
workflow_dispatch: # allows manual triggering
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
editor-config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v24
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: "install editorconfig-checker"
run: nix develop .#editorConfigShell
- name: Checking EditorConfig
run: |
cat "$HOME/changed_files" | xargs -r editorconfig-checker -disable-indent-size
- if: ${{ failure() }}
run: |
printf "::error :: Hey! It looks like your changes don't follow our editorconfig settings.\nRead https://editorconfig.org/#download to configure your editor so you never see this error again."