From 66f04c688b11385cb6610b6294166e7d6ac57992 Mon Sep 17 00:00:00 2001 From: FilipeR13 Date: Mon, 15 Jul 2024 16:14:48 +0100 Subject: [PATCH] feat: added paths of elixir files to aciton --- .github/workflows/style.yml | 4 ++++ .github/workflows/test.yml | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 100619ede..464f0bea1 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -4,6 +4,10 @@ on: pull_request: branches: [main, develop] types: [opened, synchronize] + paths: + - '**/*.ex' + - '**/*.exs' + - '**/*.html.heex' jobs: style: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a1b60cef3..7015a548e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,10 +3,17 @@ name: Build and Test on: push: branches: [develop] + paths: + - '**/*.ex' + - '**/*.exs' + - '**/*.html.heex' pull_request: branches: [develop] types: [opened, synchronize] - + paths: + - '**/*.ex' + - '**/*.exs' + - '**/*.html.heex' jobs: build: runs-on: ubuntu-latest