chore(deps): update upgrade all non-major gradle dependencies #155
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: Pull Request Workflow | |
on: [ pull_request ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: 'gradle' | |
- uses: actions/cache@v4 | |
with: | |
path: "/home/runner/.konan" | |
key: ${{ runner.os }}-${{ hashFiles('**/build.gradle.kts') }} | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install libcurl4-openssl-dev | |
- name: Build with Gradle | |
run: ./gradlew allTests | |
static-code-analysis: | |
name: Static Code Analysis | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Run detekt | |
uses: monta-app/detekt-action@main | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |