mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-24 19:25:31 +02:00
ci: added treefmt workflow to gha and removed from buildbot
Without changes to `flake/dev/fmt.nix`, as that file is not on the 25.05
branch.
(cherry picked from commit cfdbf72664
)
This commit is contained in:
parent
ab1b5962e1
commit
6df0b97b39
1 changed files with 21 additions and 0 deletions
21
.github/workflows/lint.yml
vendored
Normal file
21
.github/workflows/lint.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: lint
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.svg"
|
||||
- ".gitignore"
|
||||
- "LICENSE"
|
||||
- "flake.lock"
|
||||
|
||||
jobs:
|
||||
treefmt:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
- name: Run treefmt check
|
||||
run: nix build .#checks.x86_64-linux.treefmt --accept-flake-config
|
Loading…
Add table
Add a link
Reference in a new issue