尝试继承restic,重构实现真正增量备份,初次提交,目前只集成了restic,还有非常多BUG,目前处于不可用状态 #27
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: Lint | |
| on: | |
| push: | |
| paths: | |
| - source/** | |
| pull_request: | |
| paths: | |
| - source/** | |
| jobs: | |
| build: | |
| name: "Lint" | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: source | |
| permissions: | |
| contents: write | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Validate gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: 17 | |
| - name: Setup gradle | |
| uses: gradle/gradle-build-action@v2 | |
| - name: Setup gradlew | |
| run: chmod +x gradlew | |
| - name: Run lint | |
| run: ./gradlew lint test | |
| - name: Upload lint reports | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: lint-reports | |
| path: '**/build/reports/lint-results-*.html' |