feat: adds linting
This commit is contained in:
parent
c98331150c
commit
345a9a0608
6 changed files with 142 additions and 4 deletions
23
.forgejo/workflows/lint.yaml
Normal file
23
.forgejo/workflows/lint.yaml
Normal file
|
@ -0,0 +1,23 @@
|
|||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: docker
|
||||
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Nix
|
||||
uses: https://guardianproject.dev/actions/install-nix-action@v31
|
||||
|
||||
- name: Run just lint
|
||||
run: nix develop --command just lint
|
Loading…
Add table
Add a link
Reference in a new issue