Skip to content

Commit

Permalink
Add feature test workflow to actual branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tboeghk authored Feb 14, 2024
1 parent 99516e7 commit 2083363
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/feature-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Gradle Check

on:
workflow_dispatch:
push:
branches:
- 'feature/**'

jobs:
check:
name: check formalities and run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-package: jdk

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
key: ${{ runner.os }}-gradle-check-${{ hashFiles('versions.lock') }}
restore-keys: |
${{ runner.os }}-gradle-check-
${{ runner.os }}-gradle-
- name: Run gradle check
run: ./gradlew check

0 comments on commit 2083363

Please sign in to comment.