diff --git a/.github/workflows/test-branch.yml b/.github/workflows/test-branch.yml index 9b2347c8..31aa0eb3 100644 --- a/.github/workflows/test-branch.yml +++ b/.github/workflows/test-branch.yml @@ -10,16 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository 🌏 + - name: Checkout + Set-up enviroment 🌏 uses: actions/checkout@v4 - - - name: Set up enviroment 🔧 uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' + cache: 'gradle' - - name: Compile latest parsers 🚀 - run: | - chmod +x ./gradlew - ./gradlew compileKotlin + - name: Compile parsers 🚀 + run: ./gradlew compileKotlin \ No newline at end of file diff --git a/.github/workflows/test-parsers.yml b/.github/workflows/test-parsers.yml index 2823f3fe..236aa5d7 100644 --- a/.github/workflows/test-parsers.yml +++ b/.github/workflows/test-parsers.yml @@ -1,4 +1,4 @@ -name: Parsers test +name: Parsers test for PRs on: workflow_dispatch: @@ -13,10 +13,13 @@ jobs: build-and-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-java@v3 - with: - java-version: '11' + - name: Checkout + Set-up enviroment 🌏 + uses: actions/checkout@v3 + uses: actions/setup-java@v3 + with: + java-version: '17' distribution: 'temurin' cache: 'gradle' - - run: ./gradlew assemble + + - name: Compile parsers 🚀 + run: ./gradlew assemble \ No newline at end of file