Check licenses as part of the same workflow
This commit is contained in:
parent
798cf564b4
commit
fe456a3e52
@ -1,21 +0,0 @@
|
|||||||
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.207.0
|
|
||||||
- name: Install project dependencies
|
|
||||||
run: bundle install --jobs `getconf _NPROCESSORS_ONLN`
|
|
||||||
- name: Run license finder
|
|
||||||
run: license_finder
|
|
@ -53,12 +53,25 @@ jobs:
|
|||||||
- uses: ruby/setup-ruby@v1.207.0
|
- uses: ruby/setup-ruby@v1.207.0
|
||||||
- run: bundle install
|
- run: bundle install
|
||||||
- run: bundle exec rubocop --force-exclusion --parallel
|
- run: bundle exec rubocop --force-exclusion --parallel
|
||||||
|
check-licenses:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- uses: ruby/setup-ruby@v1.207.0
|
||||||
|
- name: Install project dependencies
|
||||||
|
run: bundle install --jobs `getconf _NPROCESSORS_ONLN`
|
||||||
|
- name: Run license finder
|
||||||
|
run: license_finder
|
||||||
|
|
||||||
build-static-assets:
|
build-static-assets:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
needs:
|
needs:
|
||||||
- unit_tests
|
- unit_tests
|
||||||
- rubocop
|
- rubocop
|
||||||
|
- check-licenses
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user