Skip to content

Create reuse workflow for checking licenses #1

Create reuse workflow for checking licenses

Create reuse workflow for checking licenses #1

Workflow file for this run

name: Licenses
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
name: "Check licenses"

Check failure on line 14 in .github/workflows/licenses.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/licenses.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- name: Install reuse
run: |
sudo apt-get update
sudo apt-get install -y reuse
- name: Checkout source code
uses: actions/checkout@v4
- name: Validate licenses
working-directory: ${{github.workspace}}
run: |
reuse lint