diff --git a/.github/workflows/ci.yml b/.github/workflows/go.yml similarity index 92% rename from .github/workflows/ci.yml rename to .github/workflows/go.yml index de6543f..21e5042 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/go.yml @@ -1,11 +1,29 @@ -name: CI +name: Go on: push: tags: - v* branches: - master + paths: + - '**.go' + - ".goreleaser.yml" + - ".golangci.yml" + - ".dockerignore" + - "Makefile" + - "rules.mk" + - "go.*" + - ".github/workflows/go.yml" pull_request: + paths: + - '**.go' + - ".goreleaser.yml" + - ".golangci.yml" + - ".dockerignore" + - "Makefile" + - "rules.mk" + - "go.*" + - ".github/workflows/go.yml" jobs: docker-build: