diff --git a/.github/workflows/go_tests.yml b/.github/workflows/go_tests.yml index 8829faecde0a..12970dab4e9e 100644 --- a/.github/workflows/go_tests.yml +++ b/.github/workflows/go_tests.yml @@ -28,7 +28,7 @@ on: pull_request: branches: ['master', 'release-*'] tags: 'v*' - paths: ['sdks/go/pkg/**'] + paths: ['sdks/go/pkg/**', 'sdks/go.mod', 'sdks/go.sum'] jobs: build: diff --git a/.test-infra/jenkins/job_PreCommit_Go.groovy b/.test-infra/jenkins/job_PreCommit_Go.groovy index db9db2744235..73b6cf4c9384 100644 --- a/.test-infra/jenkins/job_PreCommit_Go.groovy +++ b/.test-infra/jenkins/job_PreCommit_Go.groovy @@ -24,7 +24,7 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder( gradleTask: ':goPreCommit', triggerPathPatterns: [ '^model/.*$', - '^sdks/go/.*$', + '^sdks/go.*$', '^release/.*$', ] ) diff --git a/.test-infra/jenkins/job_PreCommit_Go_Portable.groovy b/.test-infra/jenkins/job_PreCommit_Go_Portable.groovy index 3e0e198d2a8d..12c762e5eb37 100644 --- a/.test-infra/jenkins/job_PreCommit_Go_Portable.groovy +++ b/.test-infra/jenkins/job_PreCommit_Go_Portable.groovy @@ -24,7 +24,7 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder( gradleTask: ':goPortablePreCommit', triggerPathPatterns: [ '^model/.*$', - '^sdks/go/.*$', + '^sdks/go.*$', '^release/.*$', ] )