diff --git a/.github/actions/cleanup/action.yml b/.github/actions/cleanup/action.yml new file mode 100644 index 0000000000..ce5e09d573 --- /dev/null +++ b/.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 diff --git a/.github/actions/preparation/action.yml b/.github/actions/preparation/action.yml new file mode 100644 index 0000000000..27462334de --- /dev/null +++ b/.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 diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index ffd6f60e74..c97152db10 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,6 +1,4 @@ - - -Resolves DEV- + ## PR Checklist @@ -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? -- [ ] 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? - - 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? - +- [ ] Yes (don't forget to update the JS-LIB team about the change) +- [ ] No + ## Other information