Update action
Some checks failed
Build and release project / Explore-Gitea-Actions (push) Failing after 2s
Some checks failed
Build and release project / Explore-Gitea-Actions (push) Failing after 2s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user