Update action
Some checks failed
Build and release project / Explore-Gitea-Actions (push) Failing after 2s

This commit is contained in:
2025-11-22 16:05:34 +03:00
parent 4c8b8fa50f
commit 9eec5d87a9

View File

@@ -20,10 +20,17 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v6
- name: Golang linter
uses: actions/golangci-lint-action
- name: Build and test application
env:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 0
run: |
mkdir bin
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o ./bin/metrics ./cmd
go build -o ./bin/metrics ./cmd
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3