23 lines
404 B
YAML
23 lines
404 B
YAML
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
|