Skip to content

Commit

Permalink
Replace buildkite with GHA (#354)
Browse files Browse the repository at this point in the history
**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.
  • Loading branch information
tdeebswihart authored Feb 7, 2024
1 parent 822966d commit 4f491a7
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 28 deletions.
2 changes: 0 additions & 2 deletions .buildkite/Dockerfile

This file was deleted.

15 changes: 0 additions & 15 deletions .buildkite/docker-compose.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .buildkite/pipeline.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ci
on:
pull_request:
permissions:
contents: read
jobs:
ci:
name: ci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '^1.21'
- uses: arduino/setup-protoc@v2
- run: make ci-build
- name: Fail if the repo is dirty
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "Detected uncommitted changes."
git status
git diff
exit 1
fi
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ buf-lint: $(STAMPDIR)/buf-mod-prune

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

##### Clean #####
clean:
Expand Down
2 changes: 2 additions & 0 deletions buf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ deps:
owner: googleapis
repository: googleapis
commit: 28151c0d0a1641bf938a7672c500e01d
digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de
- remote: buf.build
owner: grpc-ecosystem
repository: grpc-gateway
commit: 048ae6ff94ca4476b3225904b1078fad
digest: shake256:e5250bf2d999516c02206d757502b902e406f35c099d0e869dc3e4f923f6870fe0805a9974c27df0695462937eae90cd4d9db90bb9a03489412560baa74a87b6

0 comments on commit 4f491a7

Please sign in to comment.