chore(deps): update dependencies (minor/patch) #317
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: Check code | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- 'README.md' | |
- 'docs/**' | |
- '.github/ISSUE_TEMPLATE/**' | |
- '.github/**/*.md' | |
pull_request: | |
branches: [ "main" ] | |
paths-ignore: | |
- 'README.md' | |
- 'docs/**' | |
- '.github/ISSUE_TEMPLATE/**' | |
- '.github/**/*.md' | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'turtton' }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lint check | |
uses: musichin/ktlint-check@v2 | |
with: | |
annotate: true | |
experimental: true | |
- name: set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Check and Prepare report | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: check :rootCoverageReport | |
- name: Generate report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: report | |
path: build/reports | |
- name: Download report | |
uses: actions/download-artifact@v3 | |
with: | |
name: report | |
path: build/reports | |
- name: Upload Report | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: "build/reports/jacoco.xml" | |
- name: Analize Dependencies | |
uses: fossas/fossa-action@main | |
with: | |
api-key: ${{ secrets.FOSSA_TOKEN }} |