diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 09fa9a2..b983744 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -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