Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: Adjust GitHub template (DEV-1313) (#2183)
  • Loading branch information
irinaschubert committed Aug 31, 2022
1 parent 309f424 commit 5782494
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 20 deletions.
14 changes: 14 additions & 0 deletions .github/actions/cleanup/action.yml
@@ -0,0 +1,14 @@
name: "Clean up"
description: "Cleans up the cache"

runs:
using: "composite"
steps:
- name: Cleanup cache
shell: bash
run: |
rm -rf "$HOME/.ivy2/local" || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.sbt -name "*.lock" -delete || true
20 changes: 20 additions & 0 deletions .github/actions/preparation/action.yml
@@ -0,0 +1,20 @@
name: "Preparation"
description: "Preparation steps to run tests"

runs:
using: "composite"
steps:
- name: Checkout source
uses: actions/checkout@v3
with:
fetch-depth: 50
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
- name: Install requirements (apt)
run: sudo apt-get install ca-certificates-java expect unzip
shell: bash
- name: Coursier cache
uses: coursier/cache-action@v6
32 changes: 12 additions & 20 deletions .github/pull_request_template.md
@@ -1,6 +1,4 @@
<!-- Important! Please follow the new guidelines for naming Pull Requests: https://docs.dasch.swiss/developers/dsp/contribution/#pull-request-guidelines-->

Resolves DEV-
<!-- Important! Please follow the guidelines for naming Pull Requests: https://docs.dasch.swiss/latest/developers/dsp/contribution/ -->

## PR Checklist

Expand All @@ -9,39 +7,33 @@ Please check if your PR fulfills the following requirements:
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)


## PR Type

What kind of change does this PR introduce?

<!-- Please check the one that applies to this PR using "x". -->

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Bugfix: represents bug fixes
- [ ] Refactor: represents production code refactoring
- [ ] Feature: represents a new feature
- [ ] Documentation: documentation changes (no production code change)
- [ ] Chore: maintenance tasks (no production code change)
- [ ] Style: styles updates (no production code change)
- [ ] Test: all about tests: adding, refactoring tests (no production code change)
- [ ] Other... Please describe:


## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->

Issue Number: N/A


## What is the new behavior?


## Does this PR introduce a breaking change?

- [ ] Yes
- [ ] No

## Does this PR change client-test-data?

<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->
- [ ] Yes (don't forget to update the JS-LIB team about the change)
- [ ] No

<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->

## Other information

0 comments on commit 5782494

Please sign in to comment.