Skip to content

Commit

Permalink
ci: add workflows and dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
Indah Juliani committed Aug 22, 2024
1 parent b4c2d14 commit fcf79ff
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 20
35 changes: 35 additions & 0 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Project CI

on:
push:
branches: ['main']
pull_request:
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
java: ['11']

name: Java ${{ matrix.java }}

steps:
- uses: actions/checkout@v3

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
with:
java-version: '${{ matrix.java }}'
distribution: 'temurin'
cache: maven
- name: Check license hearders
run: ./mvnw license:check

- name: Check NOTICE
run: ./mvnw -B notice:check

- name: Build backend
run: ./mvnw -B package --file pom.xml

0 comments on commit fcf79ff

Please sign in to comment.