Skip to content

Add custom exception for PostgREST API errors and include HttpResponse in RestExceptions #1968

Add custom exception for PostgREST API errors and include HttpResponse in RestExceptions

Add custom exception for PostgREST API errors and include HttpResponse in RestExceptions #1968

Workflow file for this run

name: Analyze code using detekt
on:
push:
branches:
- 'master'
pull_request:
branches:
- '*'
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4.0.1
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
- name: Analyze code using detekt
run: ./gradlew -DLibrariesOnly=true detektAll --stacktrace --configuration-cache
- uses: github/codeql-action/upload-sarif@v3
if: success() || failure()
with:
sarif_file: build/reports/detekt/merge.sarif
category: lint