Skip to content

Commit

Permalink
feat: only run go-related CI stuff when go changes
Browse files Browse the repository at this point in the history
  • Loading branch information
moul committed Jul 3, 2020
1 parent 58997e4 commit cfe7add
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml → .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit cfe7add

Please sign in to comment.