Skip to content

Commit

Permalink
Run GHA tests when build.assets/Makefile changes (#19616)
Browse files Browse the repository at this point in the history
  • Loading branch information
r0mant authored Dec 22, 2022
1 parent 693b164 commit 1b387ab
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-macos-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
- '**.rs'
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.assets/Makefile'

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- '**.rs'
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.assets/Makefile'

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-windows-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ on:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'

jobs:
build:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-non-root-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-non-root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-root-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration-tests-root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'

jobs:
test:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit-tests-code-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
pull_request:
paths-ignore:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests-code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'

jobs:
test:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/unit-tests-operator-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ run-name: Skip Unit Tests (Operator) - ${{ github.run_id }} - @${{ github.actor
on:
pull_request:
paths-ignore:
- /go.mod
- /go.sum
- operator/**
- api/types/**
- lib/tbot/**
- '/go.mod'
- '/go.sum'
- 'operator/**'
- 'api/types/**'
- 'lib/tbot/**'
- 'build.assets/Makefile'

jobs:
test:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/unit-tests-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ on:
- master
pull_request:
paths:
- /go.mod
- /go.sum
- operator/**
- api/types/**
- lib/tbot/**
- '/go.mod'
- '/go.sum'
- 'operator/**'
- 'api/types/**'
- 'lib/tbot/**
- 'build.assets/Makefile'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests-rust-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
- '**.rs'
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.assets/Makefile'

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit-tests-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- '**.rs'
- 'Cargo.toml'
- 'Cargo.lock'
- 'build.assets/Makefile'

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion build.assets/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ RUNTIME_ARCH_aarch64 := arm64
RUNTIME_ARCH := $(RUNTIME_ARCH_$(HOST_ARCH))

PROTOC_VER ?= 3.20.3
# Keep in sync with api/proto/buf.yaml (and buf.lock).
# Keep in sync with api/proto/buf.yaml (and buf.lock)
GOGO_PROTO_TAG ?= v1.3.2

# BUILDBOX_VERSION, BUILDBOX and BUILDBOX_variant variables are included
Expand Down

0 comments on commit 1b387ab

Please sign in to comment.