From 26a97d811bc77a8ef0b563a4f27b794bb5f7a2cc Mon Sep 17 00:00:00 2001 From: creme332 <65414576+creme332@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:55:34 +0400 Subject: [PATCH] move workflow to workflows folder --- .github/{ => workflows}/test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename .github/{ => workflows}/test.yml (79%) diff --git a/.github/test.yml b/.github/workflows/test.yml similarity index 79% rename from .github/test.yml rename to .github/workflows/test.yml index 4b211729..7f18d5a2 100644 --- a/.github/test.yml +++ b/.github/workflows/test.yml @@ -3,9 +3,13 @@ name: Run tests on: workflow_dispatch: push: + branches: + - "main" + paths: + - "**.java" pull_request: paths: - - '**.java' + - "**.java" jobs: build: runs-on: ubuntu-latest @@ -23,4 +27,4 @@ jobs: run: mvn -B test - name: Run tests - run: mvn test \ No newline at end of file + run: mvn test