feat-角色权限-增加接口:在角色id基础上,根据功能名查询可用的模块、在模块id基础上,根据功能名查询有权限的角色 #490
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: ci | |
on: | |
push: | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
paths-ignore: | |
- '**/*.md' | |
jobs: | |
check: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Set environment variable | |
run: | | |
echo "MUYUN_USERNAME=admin" >> $GITHUB_ENV | |
echo "MUYUN_PASSWORD=admin@muyun" >> $GITHUB_ENV | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 21 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Checkstyle | |
run: ./gradlew checkstyleMain checkstyleTest --scan | |
- name: Test with Gradle | |
run: ./gradlew test |