Skip to content

Commit

Permalink
👷 Add GitHub workflows for dependency submission and Gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
NatoBoram committed Mar 1, 2024
1 parent 7ae0219 commit d1badca
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120

[*.{yml,md}]
[*.{md,yaml,yml}]
indent_style = space
indent_size = 2
17 changes: 17 additions & 0 deletions .github/workflows/dependency-submission.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Dependency Submission

on:
push:
branches:
- main

jobs:
dependency-submission:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v4
- uses: gradle/actions/dependency-submission@v3
26 changes: 26 additions & 0 deletions .github/workflows/gradle.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Java CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: read

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: "17"
distribution: temurin
- uses: gradle/actions/setup-gradle@v3

- run: ./gradlew build

0 comments on commit d1badca

Please sign in to comment.