Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermocalvo committed Sep 2, 2024
2 parents fdefefd + 29cbd3c commit bcb2457
Show file tree
Hide file tree
Showing 42 changed files with 2,152 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2

updates:

# ================================
# UPDATE GRADLE DEPENDENCIES
# ================================
- package-ecosystem: gradle
directory: /
target-branch: develop
schedule:
interval: weekly

# ================================
# UPDATE GITHUB ACTIONS
# ================================
- package-ecosystem: github-actions
directory: /
target-branch: develop
schedule:
interval: weekly
59 changes: 59 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@

# Continuous Integration
name: Build

on:
push:
branches:
- '*'
pull_request:
branches:
- main
- develop

jobs:
build:

name: Build
runs-on: ubuntu-latest

steps:

# ================================
# SHALLOW CLONE
# ================================
- name: Shallow clone
uses: actions/checkout@v4

# ================================
# VALIDATE GRADLE WRAPPER
# ================================
- name: Validate Gradle Wrapper files
uses: gradle/actions/wrapper-validation@v4

# ================================
# SET UP JDK
# ================================
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-package: jdk
java-version: 17

# ================================
# SET UP GRADLE
# ================================
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
with:
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
build-scan-terms-of-use-agree: "yes"
cache-read-only: ${{ github.ref_name != 'main' && github.ref_name != 'develop' }}

# ================================
# BUILD
# ================================
- name: Build
run: ./gradlew build
49 changes: 49 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@

# Discover vulnerabilities with CodeQL
name: CodeQL

on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
schedule:
- cron: '0 8 * * 0'

jobs:
analyze:

name: Analyze Java
runs-on: ubuntu-latest
timeout-minutes: 360
permissions:
security-events: write

steps:

# ================================
# SHALLOW CLONE
# ================================
- name: Shallow clone
uses: actions/checkout@v4

# ================================
# SET UP CODEQL
# ================================
- name: Set up CodeQL
uses: github/codeql-action/init@v3
with:
languages: java-kotlin
build-mode: autobuild

# ================================
# ANALYZE
# ================================
- name: Analyze with CodeQL
uses: github/codeql-action/analyze@v3
with:
category: "/language:java-kotlin"
41 changes: 41 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

# Submit dependencies
name: Dependencies

on:
push:
branches:
- main

permissions:
contents: write

jobs:
dependencies:

name: Submit dependencies
runs-on: ubuntu-latest

steps:

# ================================
# SHALLOW CLONE
# ================================
- name: Shallow clone
uses: actions/checkout@v4

# ================================
# SET UP JDK
# ================================
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-package: jdk
java-version: 17

# ================================
# SUBMIT DEPENDENCIES
# ================================
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4
42 changes: 42 additions & 0 deletions .github/workflows/update-gradle-wrapper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@

# Schedule Gradle Wrapper updates
name: Update Gradle Wrapper

on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:

jobs:
update-gradle-wrapper:

name: Update Gradle Wrapper
runs-on: ubuntu-latest

steps:

# ================================
# SHALLOW CLONE
# ================================
- name: Shallow clone
uses: actions/checkout@v4

# ================================
# SET UP JDK
# ================================
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-package: jdk
java-version: 17

# ================================
# UPDATE GRADLE WRAPPER
# ================================
- name: Update Gradle Wrapper
uses: gradle-update/update-gradle-wrapper-action@v1
with:
release-channel: stable
base-branch: develop
target-branch: develop
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
HELP.md
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/
Loading

0 comments on commit bcb2457

Please sign in to comment.