ci: reuse: fix formatting #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# SPDX-FileCopyrightText: (C) 2017-2024 Red Hat, Inc. | |
# | |
# SPDX-License-Identifier: GPL-2.0-or-later | |
# | |
name: Check licenses | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Install reuse | |
run: | | |
sudo apt -qq update | |
sudo apt -y -qq install pip | |
sudo pip install reuse | |
- name: Check licensing with reuse | |
run: | | |
reuse lint |