From 4982b3cc4985c1a14451210c35dcf5a98a78d1c2 Mon Sep 17 00:00:00 2001 From: SmileRex <78729299+RexReposit@users.noreply.github.com> Date: Thu, 23 Jan 2025 01:44:04 +0300 Subject: [PATCH 1/2] Create go.yml --- .github/workflows/go.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..6601749 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,23 @@ +# 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: Go + +on: + push: + branches: [ "main" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.23' + + - name: Build + run: go build -v ./... From 52d46a4a1ca9a0340a3395cd1fb519bbe533c3f2 Mon Sep 17 00:00:00 2001 From: SmileRex <78729299+RexReposit@users.noreply.github.com> Date: Thu, 23 Jan 2025 01:47:19 +0300 Subject: [PATCH 2/2] Update go.yml --- .github/workflows/go.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6601749..77ae60a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,8 +12,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Set up Go uses: actions/setup-go@v4 with: