refactor(workflow): Replace hardcoded IconURL with IconURI to enable … #1053
Workflow file for this run
This file contains hidden or 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 Check | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
license-check: | |
name: License Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23 | |
- name: Install license-eye | |
run: | | |
go install github.com/apache/skywalking-eyes/cmd/license-eye@v0.4.0 | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: License Header Check | |
run: | | |
license-eye header check -c .github/.licenserc.yaml | |
- name: License Dependency Check | |
run: | | |
license-eye dependency check -c .github/.licenserc.yaml |