From 23743a23b93f9525ac20c2bc045882a207d6b62a Mon Sep 17 00:00:00 2001 From: Vargha Csongor Date: Wed, 28 Feb 2024 15:03:54 +0100 Subject: [PATCH] Attempt fixing ci --- .github/workflows/CI/svelte_build.yml | 0 .github/workflows/CI/svelte_lint.yml | 0 .github/workflows/auth-service-ci.yml | 6 +++--- .github/workflows/backend-ci.yml | 6 +++--- .github/workflows/frontend-ci.yml | 4 ++-- .github/workflows/{CI => }/go_build.yml | 0 .github/workflows/{CI => }/go_lint.yml | 0 .github/workflows/{CI => }/go_test.yml | 0 .github/workflows/svelte_build.yml | 13 +++++++++++++ .github/workflows/svelte_lint.yml | 13 +++++++++++++ 10 files changed, 34 insertions(+), 8 deletions(-) delete mode 100644 .github/workflows/CI/svelte_build.yml delete mode 100644 .github/workflows/CI/svelte_lint.yml rename .github/workflows/{CI => }/go_build.yml (100%) rename .github/workflows/{CI => }/go_lint.yml (100%) rename .github/workflows/{CI => }/go_test.yml (100%) create mode 100644 .github/workflows/svelte_build.yml create mode 100644 .github/workflows/svelte_lint.yml diff --git a/.github/workflows/CI/svelte_build.yml b/.github/workflows/CI/svelte_build.yml deleted file mode 100644 index e69de29..0000000 diff --git a/.github/workflows/CI/svelte_lint.yml b/.github/workflows/CI/svelte_lint.yml deleted file mode 100644 index e69de29..0000000 diff --git a/.github/workflows/auth-service-ci.yml b/.github/workflows/auth-service-ci.yml index 7593e16..96e48a7 100644 --- a/.github/workflows/auth-service-ci.yml +++ b/.github/workflows/auth-service-ci.yml @@ -6,16 +6,16 @@ on: jobs: lint: - uses: ./.github/workflows/CI/go_lint.yml + uses: ./.github/workflows/go_lint.yml with: working-directory: 'auth-service' build: needs: lint - uses: ./.github/workflows/CI/go_build.yml + uses: ./.github/workflows/go_build.yml with: working-directory: 'auth-service' test: needs: build - uses: ./.github/workflows/CI/go_test.yml + uses: ./.github/workflows/go_test.yml with: working-directory: 'auth-service' \ No newline at end of file diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml index ebe0aaa..eb2b79f 100644 --- a/.github/workflows/backend-ci.yml +++ b/.github/workflows/backend-ci.yml @@ -6,16 +6,16 @@ on: jobs: lint: - uses: ./CI/go_lint.yml + uses: ./go_lint.yml with: working-directory: 'backend' build: needs: lint - uses: ./CI/go_build.yml + uses: ./go_build.yml with: working-directory: 'backend' test: needs: build - uses: ./CI/go_test.yml + uses: ./go_test.yml with: working-directory: 'backend' \ No newline at end of file diff --git a/.github/workflows/frontend-ci.yml b/.github/workflows/frontend-ci.yml index e5f2bb1..9c6b682 100644 --- a/.github/workflows/frontend-ci.yml +++ b/.github/workflows/frontend-ci.yml @@ -6,11 +6,11 @@ on: jobs: lint: - uses: ./CI/go_lint.yml + uses: ./go_lint.yml with: working-directory: 'backend' build: needs: lint - uses: ./CI/go_build.yml + uses: ./go_build.yml with: working-directory: 'backend' diff --git a/.github/workflows/CI/go_build.yml b/.github/workflows/go_build.yml similarity index 100% rename from .github/workflows/CI/go_build.yml rename to .github/workflows/go_build.yml diff --git a/.github/workflows/CI/go_lint.yml b/.github/workflows/go_lint.yml similarity index 100% rename from .github/workflows/CI/go_lint.yml rename to .github/workflows/go_lint.yml diff --git a/.github/workflows/CI/go_test.yml b/.github/workflows/go_test.yml similarity index 100% rename from .github/workflows/CI/go_test.yml rename to .github/workflows/go_test.yml diff --git a/.github/workflows/svelte_build.yml b/.github/workflows/svelte_build.yml new file mode 100644 index 0000000..783a9f4 --- /dev/null +++ b/.github/workflows/svelte_build.yml @@ -0,0 +1,13 @@ +on: + workflow_call: + inputs: + working-directory: + required: true + type: string + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + \ No newline at end of file diff --git a/.github/workflows/svelte_lint.yml b/.github/workflows/svelte_lint.yml new file mode 100644 index 0000000..783a9f4 --- /dev/null +++ b/.github/workflows/svelte_lint.yml @@ -0,0 +1,13 @@ +on: + workflow_call: + inputs: + working-directory: + required: true + type: string + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + \ No newline at end of file