Skip to content

Commit

Permalink
Add github files
Browse files Browse the repository at this point in the history
  • Loading branch information
fpapon committed Apr 12, 2023
1 parent 8df887b commit 22df520
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [yupiik]
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
63 changes: 63 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
#
# Copyright (c) 2022, 2023 - Yupiik SAS - https://www.yupiik.com
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

name: Github CI

on: [push, pull_request]

env:
MAVEN_OPTS: -Dmaven.repo.local=/home/runner/work/yuc/yuc/.m2 -Dmaven.artifact.threads=256 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn

jobs:
build:
name: Main Build
runs-on: ubuntu-22.04
steps:
- name: Clone
uses: actions/checkout@v1
- name: Cache Maven Repository
uses: actions/cache@v2
with:
path: |
/home/runner/work/yuc/yuc/.m2
key: m2_repository
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: '17.0.6'
- name: Build
run: mvn install -Dm2.location=/home/runner/work/yuc/yuc/.m2
- name: Remove Snapshots Before Caching
run: find /home/runner/work/yuc/yuc/.m2 -name '*SNAPSHOT' | xargs rm -Rf
security_audit:
name: Security Audit
runs-on: ubuntu-22.04
steps:
- name: Clone
uses: actions/checkout@v1
- name: Cache Maven Repository
uses: actions/cache@v1
with:
path: /home/runner/work/yuc/yuc/.m2
key: m2_repository
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: '17.0.6'
- name: Build
run: mvn install -DskipTests ossindex:audit
- name: Remove Snapshots Before Caching
run: find /home/runner/work/yuc/yuc/.m2 -name '*SNAPSHOT' | xargs rm -Rf

0 comments on commit 22df520

Please sign in to comment.