Skip to content

Commit 4f491a7

Browse files
authored
Replace buildkite with GHA (#354)
**What changed?** Our Buildkite CI config was replaced with GitHub actions **Why?** We're trying to deprecate buildkite in general; the server repo has already done so **Breaking changes** None.
1 parent 822966d commit 4f491a7

File tree

6 files changed

+27
-28
lines changed

6 files changed

+27
-28
lines changed

.buildkite/Dockerfile

Lines changed: 0 additions & 2 deletions
This file was deleted.

.buildkite/docker-compose.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.buildkite/pipeline.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ci
2+
on:
3+
pull_request:
4+
permissions:
5+
contents: read
6+
jobs:
7+
ci:
8+
name: ci
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-go@v4
13+
with:
14+
go-version: '^1.21'
15+
- uses: arduino/setup-protoc@v2
16+
- run: make ci-build
17+
- name: Fail if the repo is dirty
18+
run: |
19+
if [[ -n $(git status --porcelain) ]]; then
20+
echo "Detected uncommitted changes."
21+
git status
22+
git diff
23+
exit 1
24+
fi

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ buf-lint: $(STAMPDIR)/buf-mod-prune
9191

9292
buf-breaking:
9393
@printf $(COLOR) "Run buf breaking changes check against master branch..."
94-
@(cd $(PROTO_ROOT) && buf breaking --against '.git#branch=master')
94+
@(cd $(PROTO_ROOT) && buf breaking --against 'https://github.com/temporalio/api.git#branch=master')
9595

9696
##### Clean #####
9797
clean:

buf.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ deps:
55
owner: googleapis
66
repository: googleapis
77
commit: 28151c0d0a1641bf938a7672c500e01d
8+
digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de
89
- remote: buf.build
910
owner: grpc-ecosystem
1011
repository: grpc-gateway
1112
commit: 048ae6ff94ca4476b3225904b1078fad
13+
digest: shake256:e5250bf2d999516c02206d757502b902e406f35c099d0e869dc3e4f923f6870fe0805a9974c27df0695462937eae90cd4d9db90bb9a03489412560baa74a87b6

0 commit comments

Comments
 (0)