Skip to content

Commit

Permalink
ci: add codeowners and checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Mar 24, 2024
1 parent 94bcf29 commit a48f09c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Any change to files in the root directory, any later match takes precedence.
* @NTBBloodbath @vhyrro @mrcjkb

# Documentation
*.md @NTBBloodbath @vhyrro @mrcjkb
doc/ @NTBBloodbath @vhyrro @mrcjkb

# Plugin files
lua/ @NTBBloodbath @vhyrro @mrcjkb
spec/ @NTBBloodbath @vhyrro @mrcjkb
plugin/ @NTBBloodbath @vhyrro @mrcjkb

# Nix
nix/ @mrcjkb @teto
flake.* @mrcjkb @teto
26 changes: 26 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: "Checks"
on:
pull_request:
push:
workflow_call:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
name: neorocks
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix flake check -L --accept-flake-config
shell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
- uses: cachix/cachix-action@v12
with:
name: neorocks
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#devShells.x86_64-linux.default -L --accept-flake-config

0 comments on commit a48f09c

Please sign in to comment.