Skip to content

Bump io.gitlab.arturbosch.detekt:detekt-formatting from 1.23.1 to 1.23.4 #184

Bump io.gitlab.arturbosch.detekt:detekt-formatting from 1.23.1 to 1.23.4

Bump io.gitlab.arturbosch.detekt:detekt-formatting from 1.23.1 to 1.23.4 #184

Workflow file for this run

name: Build Flow
on:
pull_request:
branches:
- '*'
push:
branches:
- 'master'
env:
MONGODB_URI: 'mongodb://localhost:27017'
APPLICATION_PORT: '8080'
USERNAME: ${{secrets.OSSRH_USERNAME}}
TOKEN: ${{secrets.OSSRH_TOKEN}}
PRODUCT_URL: "http://localhost:8081/product"
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Cache Gradle packages
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Build with Gradle
run: gradle clean build
- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
with:
name: java-app
path: './build/libs/Backend-Like-0.0.1-SNAPSHOT.jar'