Version 0.1.0 #19
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: Pull Request Tests | |
on: [pull_request] | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- name: Code Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: '21' | |
- name: Generating self-signed certificate | |
run: | | |
openssl req \ | |
-newkey rsa:2048 \ | |
-new \ | |
-nodes \ | |
-x509 \ | |
-days 2 \ | |
-keyout key.pem \ | |
-out cert.pem \ | |
-subj "/CN=localhost" | |
- name: Tests | |
run: ./gradlew test --no-daemon |