[PEAUTY-95] Adding Rating, Badges about GetAroundWorkspace API #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Retest on Comment | ||
on: | ||
issue_comment: | ||
types: [created, edited, deleted] | ||
permissions: | ||
contents: read | ||
issues: write | ||
jobs: | ||
retest: | ||
if: contains(toLower(github.event.comment.body), 'retest') | ||
Check failure on line 13 in .github/workflows/gradle-retest.yml GitHub Actions / Retest on CommentInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
lfs: false | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 17 | ||
- name: Create .env file | ||
run: | | ||
echo "${{ secrets.ALL_SECRET }}" > .env | ||
- name: Set up Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
gradle-version: 8.8 | ||
- name: Cache Gradle packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: gradle-${{ runner.os }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
restore-keys: | | ||
gradle-${{ runner.os }} | ||
- name: Run tests | ||
env: | ||
SPRING_PROFILES_ACTIVE: local | ||
ACTIONS_RUNNER_DEBUG: true | ||
ACTIONS_STEP_DEBUG: true | ||
run: | | ||
./gradlew -g gradle/caches/ \ | ||
--build-cache --no-daemon \ | ||
test |