From faac1cabe23661972ab996014332fb3dd707aa37 Mon Sep 17 00:00:00 2001 From: SmileRex <78729299+RexReposit@users.noreply.github.com> Date: Thu, 23 Jan 2025 02:52:42 +0300 Subject: [PATCH] Create gorunner.yml --- .github/workflows/gorunner.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/gorunner.yml diff --git a/.github/workflows/gorunner.yml b/.github/workflows/gorunner.yml new file mode 100644 index 0000000..4a77464 --- /dev/null +++ b/.github/workflows/gorunner.yml @@ -0,0 +1,28 @@ +# This workflow will build a golang project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go + +name: GoRunner + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + runs-on: self-hosted + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.20' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...