Skip to content

Commit

Permalink
Merge pull request #56 from moul/dev/moul/conditional-go
Browse files Browse the repository at this point in the history
feat: only run go-related CI stuff when go changes
  • Loading branch information
moul committed Jul 3, 2020
2 parents 58997e4 + cfe7add commit c311d9e
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 c311d9e

Please sign in to comment.