From 84dc85916ff4ea7a4f2fe1fb88fa4d9f95899668 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Tue, 15 Aug 2023 07:43:40 +0200 Subject: [PATCH 1/2] .gitea/workflows/test.yaml aktualisiert --- .gitea/workflows/test.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index a5eee7e..422ce8a 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -1,8 +1,18 @@ name: Gitea Actions Test run_name: ${{ gitea.actor }} is testing out Gitea Actions + on: pull_request: types: [opened, reopened, edited, review_requested] + jobs: - steps: - run: cargo build --release \ No newline at end of file + build: + + runs-on: ubuntu-latest + + steps: + + - name: Build + run: cargo build + - name: Run tests + run: cargo test \ No newline at end of file From 912ed353d1592cf91e8599c4fe5d8cc7968944b1 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Tue, 15 Aug 2023 07:55:05 +0200 Subject: [PATCH 2/2] .gitea/workflows/test.yaml aktualisiert --- .gitea/workflows/test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 422ce8a..449e81d 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -11,7 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - + - run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event." + - run: echo " This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Build run: cargo build - name: Run tests