From ffadbf9b8f4528bb841ece9475ca0dbb8dc32795 Mon Sep 17 00:00:00 2001 From: Rens Houben Date: Thu, 24 Jul 2025 13:34:39 +0200 Subject: [PATCH] Added second workflow action --- .gitea/workflows/container.yaml | 22 ++++++++++++++++++++++ .gitea/workflows/unit-tests.yaml | 7 +++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .gitea/workflows/container.yaml diff --git a/.gitea/workflows/container.yaml b/.gitea/workflows/container.yaml new file mode 100644 index 0000000..d5bcb78 --- /dev/null +++ b/.gitea/workflows/container.yaml @@ -0,0 +1,22 @@ +name: Fibonacci unit tests +run-name: ${{ gitea.actor }} is testing Fibonacci +on: + push: + branches: + - 'deployment' + - 'build' + +jobs: + Containerize: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Install go + uses: actions/setup-go@v5 + with: + go-version: '1.24.4' + check-latest: true + - name: Containerize app + run: exit 0 + diff --git a/.gitea/workflows/unit-tests.yaml b/.gitea/workflows/unit-tests.yaml index 640e426..3125b3e 100644 --- a/.gitea/workflows/unit-tests.yaml +++ b/.gitea/workflows/unit-tests.yaml @@ -1,9 +1,12 @@ name: Fibonacci unit tests run-name: ${{ gitea.actor }} is testing Fibonacci -on: [push] +on: + push: + branches: + - '*' jobs: - Explore-Gitea-Actions: + Run-unit-tests: runs-on: ubuntu-latest steps: - name: Check out repository code