fix:setup-envtest ut err, ref: https://github.com/janus-idp/operator/… #9
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
name: License | |
on: | |
push: | |
branches: | |
- master | |
- release-* | |
workflow_dispatch: {} | |
pull_request: | |
branches: | |
- master | |
- release-* | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
license_check: | |
runs-on: ubuntu-20.04 | |
name: Check for unapproved licenses | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
- name: Install dependencies | |
run: gem install license_finder | |
- name: Run tests | |
run: license_finder --decisions_file .license/dependency_decisions.yml |