Skip to content

Merge pull request #259 from Cosmo-Tech/JREY/update_redis_stack_serve… #750

Merge pull request #259 from Cosmo-Tech/JREY/update_redis_stack_serve…

Merge pull request #259 from Cosmo-Tech/JREY/update_redis_stack_serve… #750

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Code Scanning
# Controls when the workflow will run
on:
workflow_dispatch:
push:
branches:
- main
tags:
- '*'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [ main ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
detekt:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Check with Detekt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew detekt
- name: Upload SARIF reports to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
if: ${{ always() }}
with:
sarif_file: 'build/reports/detekt/'