mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-13 04:21:10 +01:00
25 lines
478 B
YAML
25 lines
478 B
YAML
name: lint
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- "**.md"
|
|
- "**.svg"
|
|
- ".gitignore"
|
|
- "LICENSE"
|
|
- "flake.lock"
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
treefmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v31
|
|
- name: Run treefmt check
|
|
run: nix build .#checks.x86_64-linux.treefmt --accept-flake-config
|