chore: disable raft test in normal PR due to timeout problem (#2349) #10
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 checker" | |
on: | |
push: | |
branches: | |
- master | |
- 'release-*' | |
pull_request: | |
jobs: | |
check-license: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check License Header | |
uses: apache/skywalking-eyes@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
log: info | |
token: ${{ github.token }} | |
config: .licenserc.yaml | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: License check(RAT) | |
run: | | |
mvn apache-rat:check -ntp | |
find ./ -name rat.txt -print0 | xargs -0 -I file cat file > merged-rat.txt | |
grep "Binaries" merged-rat.txt -C 3 && cat merged-rat.txt |