name: License Check

on:
  workflow_call:

jobs:
  license-check:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout repository
        uses: actions/checkout@v6

      - name: Check Rust license headers
        run: ./.github/check-license-headers.sh
