Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync Main and Dev #10

Merged
merged 19 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
baa5068
Feature: Build and Test Workflow
brenoepics Jan 11, 2024
314b4d1
Feature: Add Greetings Workflow
brenoepics Jan 11, 2024
35da42e
Merge pull request #2 from brenoepics/github-actions-1
brenoepics Jan 11, 2024
8927ed4
Merge pull request #1 from brenoepics/dev
brenoepics Jan 11, 2024
b16cd94
Fix: Remove unused code
brenoepics Jan 11, 2024
8230b02
Fix: Add SourceEncoding UTF-8
brenoepics Jan 11, 2024
46ab23f
Merge pull request #3 from brenoepics/github-actions
brenoepics Jan 11, 2024
013ce2d
Merge pull request #4 from brenoepics/dev
brenoepics Jan 11, 2024
64e0a07
Build(deps): Bump com.fasterxml.jackson.core:jackson-databind
dependabot[bot] Jan 11, 2024
5d017df
Build(deps): Bump org.apache.logging.log4j:log4j-api
dependabot[bot] Jan 11, 2024
64e406b
Build(deps): Bump org.apache.logging.log4j:log4j-core
dependabot[bot] Jan 11, 2024
f02c017
Build(deps): Bump org.mockito:mockito-junit-jupiter from 5.2.0 to 5.8.0
dependabot[bot] Jan 11, 2024
c6c928a
Build(deps): Bump org.apache.maven.plugins:maven-compiler-plugin
dependabot[bot] Jan 11, 2024
a918fb1
Feature: Add CodeCov
brenoepics Jan 11, 2024
da39e25
Merge pull request #9 from brenoepics/dependabot/maven/org.apache.mav…
brenoepics Jan 11, 2024
40c273e
Merge pull request #5 from brenoepics/dependabot/maven/com.fasterxml.…
brenoepics Jan 11, 2024
b5c2f77
Merge pull request #6 from brenoepics/dependabot/maven/org.apache.log…
brenoepics Jan 11, 2024
62a9e88
Merge pull request #7 from brenoepics/dependabot/maven/org.apache.log…
brenoepics Jan 11, 2024
0f1b7a5
Merge pull request #8 from brenoepics/dependabot/maven/org.mockito-mo…
brenoepics Jan 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Greetings

on: [pull_request_target, issues]

jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thank you for creating your first issue in this repository. We appreciate your contribution and will review it as soon as possible.'
pr-message: 'Thank you for creating your first pull request in this repository. We appreciate your contribution and will review it as soon as possible.'
35 changes: 35 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven

on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "main", "dev" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
15 changes: 9 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.12.1</version>
<configuration>
<source>9</source>
<target>9</target>
Expand All @@ -43,6 +43,9 @@
</plugin>
</plugins>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>jitpack.io</id>
Expand All @@ -59,17 +62,17 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.20.0</version>
<version>2.22.1</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.20.0</version>
<version>2.22.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.16.0</version>
<version>2.16.1</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Expand All @@ -85,8 +88,8 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.2.0</version>
<version>5.8.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>
</project>