Skip to content

feat: Upgrade to the latest versions of actions #27

feat: Upgrade to the latest versions of actions

feat: Upgrade to the latest versions of actions #27

Workflow file for this run

name: CI
on:
pull_request: {}
workflow_dispatch: {}
push:
branches:
- master
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "corretto"
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Run tests
run: ./gradlew test
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: |
**/build/test-results
**/build/reports/tests