From 21e203267434f059ab71829610d092cf9f961b05 Mon Sep 17 00:00:00 2001 From: Christian Schulze Date: Sun, 5 Mar 2023 17:15:22 +0100 Subject: [PATCH] chore: updated CI with a test job --- .gitea/workflows/main.yml | 19 +++++++++++++++++++ .gitea/workflows/release-drafter.yml | 14 -------------- 2 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 .gitea/workflows/main.yml delete mode 100644 .gitea/workflows/release-drafter.yml diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml new file mode 100644 index 0000000..0221496 --- /dev/null +++ b/.gitea/workflows/main.yml @@ -0,0 +1,19 @@ +name: Main +on: [push] +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v2 + + - name: Install Go + uses: actions/setup-go@v1 + with: + go-version: 1.19.x + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... diff --git a/.gitea/workflows/release-drafter.yml b/.gitea/workflows/release-drafter.yml deleted file mode 100644 index 3ed8d3a..0000000 --- a/.gitea/workflows/release-drafter.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Release Drafter -on: [push] -jobs: - release-drafter: - runs-on: ubuntu-latest - steps: - - name: Check out repository - uses: actions/checkout@v2 - # Inception: install goaction from current code and - # update the action files. - - name: Install Go - uses: actions/setup-go@v1 - with: - go-version: 1.19.x \ No newline at end of file