This commit is contained in:
@@ -16,6 +16,7 @@ on:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
if: 0
|
||||
name: Run golangci-lint
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
@@ -43,6 +44,7 @@ jobs:
|
||||
golangci-lint run -c ./.golangci-lint.yaml --fix=false --color=always
|
||||
|
||||
build:
|
||||
if: 0
|
||||
name: Build golang services
|
||||
runs-on: ubuntu-22.04
|
||||
needs: lint
|
||||
@@ -67,6 +69,7 @@ jobs:
|
||||
CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o main cmd/main.go
|
||||
|
||||
push:
|
||||
if: 0
|
||||
name: Push Docker Images
|
||||
runs-on: ubuntu-22.04
|
||||
needs: lint
|
||||
|
||||
Reference in New Issue
Block a user