24 lines
584 B
YAML
24 lines
584 B
YAML
name: Check usage of free licenses
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
concurrency:
|
|
group: ${{ github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
check-licenses:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
- uses: ruby/setup-ruby@v1.202.0
|
|
with:
|
|
ruby-version: '3.3.6'
|
|
- name: Install project dependencies
|
|
run: bundle install --jobs `getconf _NPROCESSORS_ONLN`
|
|
- name: Run license finder
|
|
run: license_finder
|