chore(deps): update feign monorepo to v13.1 #1488
Workflow file for this run
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 | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
matrix: | |
jdk: [17] | |
runs-on: ubuntu-latest | |
env: | |
JDK_VERSION: ${{ matrix.jdk }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Gradle wrapper validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Set up JDK ${{ matrix.jdk }} | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.jdk }} | |
- name: Cache SonarCloud packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.sonar/cache | |
key: ${{ runner.os }}-sonar | |
restore-keys: ${{ runner.os }}-sonar | |
- name: Cache global .gradle folder | |
uses: actions/cache@v3 | |
with: | |
path: ~/.gradle/caches | |
key: global-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/*.kt*') }}-${{ hashFiles('**/*.java') }} | |
restore-keys: | | |
gradle-cache-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }} | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3.0.0 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Download postgres | |
run: docker pull postgres:15.4 | |
- name: Build | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: | | |
check | |
detekt | |
mergeDetektSarif | |
:gradle-plugins:buildPlugins | |
--continue | |
- name: Upload sarif file to GitHub | |
uses: github/codeql-action/upload-sarif@v2 | |
if: success() || failure() | |
with: | |
sarif_file: build/detekt-merged.sarif | |
category: detekt | |
- name: Upload failure artifacts | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: reports | |
path: '**/build/reports' |