From 92cf2ac89730d5e1dabed0f43a025de4bf067837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=B0=D0=BD=D0=B5=D0=B5=D0=B2=20=D0=90=D1=80=D1=82?= =?UTF-8?q?=D0=B5=D0=BC?= Date: Sat, 22 Nov 2025 17:41:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20pipe=20=D0=B4=D0=BB=D1=8F=20=D0=B1=D0=B8=D0=BB=D0=B4?= =?UTF-8?q?=D0=B0=20go=20=D1=84=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci.yml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 33d00a1..71c4805 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,18 +8,36 @@ jobs: steps: - name: Check repository code uses: actions/checkout@v4 - - name: List files in the repository + + - name: Show workspace structure run: | - ls ${{ gitea.workspace }} - - name: setup go - uses: actions/setup-go@v6 + echo "📁 Workspace content:" + ls -la + echo "📄 Checking go.mod:" + cat go.mod || echo "No go.mod file" + + - name: Setup Go + uses: actions/setup-go@v4 with: go-version-file: 'go.mod' + + - name: Show Go environment + run: | + echo "🔧 Go environment:" + go version + go env GOPROXY + go env GOMODCACHE + - name: Download dependencies run: | + echo "🔄 Starting dependency download..." + start_time=$(date +%s) go mod download + end_time=$(date +%s) + echo "✅ Dependencies downloaded in $((end_time - start_time)) seconds" - name: Build Go run: | + echo "🔨 Building application..." go build -v ./... - \ No newline at end of file + echo "🎉 Build successful!" \ No newline at end of file