iocaine/.forgejo/workflows/lint.yaml
Gergely Nagy d2bdbf750a
ci: Update to use cellar
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
2025-02-10 14:20:37 +01:00

28 lines
578 B
YAML

## SPDX-FileCopyrightText: 2025 Gergely Nagy
## SPDX-FileContributor: Gergely Nagy
##
## SPDX-License-Identifier: MIT
name: lint
on: [ push ]
jobs:
linting:
runs-on: nixos-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup magic attic cache
uses: actions/magic-attic-cache@main
with:
CELLAR_TOKEN: ${{ secrets.CELLAR_TOKEN }}
- name: license check
run: reuse lint
- name: formatting
uses: actions/nix/develop@main
with:
run: treefmt --fail-on-change