Skip to content

chmod 755 gradlew

chmod 755 gradlew #242

name: Build and test
on:
push:
branches: [main]
pull_request:
types: [opened, reopened, synchronize]
jobs:
build-and-test:
name: Build and test
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: '17'
cache: 'gradle'
- name: Make ./gradlew executable
run: chmod 777 ./gradlew
- name: Build
run: ./gradlew build -x lint
- name: Run tests
run: ./gradlew test