infrastructure/workflows/reuse-check.nix

20 lines
365 B
Nix
Raw Normal View History

# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
{
name = "Run pre-commit on all files";
on = [
"push"
"pull_request"
];
jobs.pre-commit = {
runs-on = "nix";
steps = [
{ uses = "actions/checkout@v3"; }
{ uses = "https://github.com/fsfe/reuse-action@v5"; }
];
};
}