From 7c4e491d18f3a4999b6c1b7c852f6892756d1db8 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 8 Jan 2024 16:38:47 +0200 Subject: [.github/feature-branch] Fixed bad static analysis name --- .github/workflows/feature-branch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/feature-branch.yml') diff --git a/.github/workflows/feature-branch.yml b/.github/workflows/feature-branch.yml index 54c0c6b..86b7cfd 100644 --- a/.github/workflows/feature-branch.yml +++ b/.github/workflows/feature-branch.yml @@ -26,7 +26,7 @@ jobs: - name: Build server and browser run: make tests - Static analysis: + Static-analysis: runs-on: ubuntu-latest needs: Clone-repo steps: -- cgit v1.2.3 From d0d2937c42304b9e2805ac0ba8bd1bc2b2d7604c Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 8 Jan 2024 17:39:45 +0200 Subject: [.github/feature-branch] Reworked to properly use clone repo artifact --- .github/workflows/feature-branch.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to '.github/workflows/feature-branch.yml') diff --git a/.github/workflows/feature-branch.yml b/.github/workflows/feature-branch.yml index 86b7cfd..c7ab192 100644 --- a/.github/workflows/feature-branch.yml +++ b/.github/workflows/feature-branch.yml @@ -1,4 +1,4 @@ -name: feature-branch +name: Tests and static analysis on: push: branches-ignore: @@ -22,7 +22,10 @@ jobs: runs-on: ubuntu-latest needs: Clone-repo steps: - - uses: actions/checkout@v4 + - uses: actions/download-artifact@v3 + with: + name: source-code + path: . - name: Build server and browser run: make tests @@ -30,7 +33,9 @@ jobs: runs-on: ubuntu-latest needs: Clone-repo steps: - - uses: actions/checkout@v4 + - uses: actions/download-artifact@v3 + with: + name: source-code + path: . - name: Build server and browser run: make static-analysis - -- cgit v1.2.3 From b32fc727fdbd67e9395cedb0a13f1a2adc03d527 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 8 Jan 2024 17:55:36 +0200 Subject: [.github/feature-branch] Fixed names of steps --- .github/workflows/feature-branch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/feature-branch.yml') diff --git a/.github/workflows/feature-branch.yml b/.github/workflows/feature-branch.yml index c7ab192..88bee04 100644 --- a/.github/workflows/feature-branch.yml +++ b/.github/workflows/feature-branch.yml @@ -26,7 +26,7 @@ jobs: with: name: source-code path: . - - name: Build server and browser + - name: Run tests run: make tests Static-analysis: @@ -37,5 +37,5 @@ jobs: with: name: source-code path: . - - name: Build server and browser + - name: Run static analysis run: make static-analysis -- cgit v1.2.3 From fe29a3630d48d3e1d44287ea41682621d3a3dab0 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 8 Jan 2024 17:59:38 +0200 Subject: [.github] Recursive submodule checkout --- .github/workflows/dev-branch.yml | 2 ++ .github/workflows/feature-branch.yml | 2 ++ .github/workflows/main-branch.yml | 2 ++ 3 files changed, 6 insertions(+) (limited to '.github/workflows/feature-branch.yml') diff --git a/.github/workflows/dev-branch.yml b/.github/workflows/dev-branch.yml index a7e81f6..6d66da2 100644 --- a/.github/workflows/dev-branch.yml +++ b/.github/workflows/dev-branch.yml @@ -12,6 +12,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: recursive - uses: actions/upload-artifact@v3 with: name: source-code diff --git a/.github/workflows/feature-branch.yml b/.github/workflows/feature-branch.yml index 88bee04..3ff1833 100644 --- a/.github/workflows/feature-branch.yml +++ b/.github/workflows/feature-branch.yml @@ -13,6 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: recursive - uses: actions/upload-artifact@v3 with: name: source-code diff --git a/.github/workflows/main-branch.yml b/.github/workflows/main-branch.yml index dcd4c60..8534344 100644 --- a/.github/workflows/main-branch.yml +++ b/.github/workflows/main-branch.yml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + submodules: recursive - uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} -- cgit v1.2.3