Skip to content

Bump gradle/actions from 3 to 4 #886

Bump gradle/actions from 3 to 4

Bump gradle/actions from 3 to 4 #886

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
GRADLE_OPTS: -Dorg.gradle.caching=true
jobs:
build:
runs-on: macos-14
permissions:
contents: write
security-events: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v4
with:
validate-wrappers: true
gradle-home-cache-cleanup: true
- name: Build with Gradle
run: ./gradlew build
- name: Upload SARIF to Github using the upload-sarif action
uses: github/codeql-action/upload-sarif@v3
if: success() || failure()
with:
sarif_file: build/reports/detekt/detekt.sarif