Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Testing buf breaking (#7475)

Conrad Irwineaadf56db92a
diff --git a/.github/actions/check_style/action.yml b/.github/actions/check_style/action.yml
index 39601e8c259..e95c6b493af 100644
--- a/.github/actions/check_style/action.yml
+++ b/.github/actions/check_style/action.yml
@@ -22,9 +22,3 @@ runs:
run: |
export SQUAWK_GITHUB_TOKEN=${{ github.token }}
. ./script/squawk
-
- - uses: bufbuild/buf-setup-action@v1
- - uses: bufbuild/buf-breaking-action@v1
- with:
- input: "crates/rpc/proto/"
- against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main,subdir=crates/rpc/proto/"
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8ad9f57fd1d..b7bde60eec3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -48,6 +48,17 @@ jobs:
- name: Run style checks
uses: ./.github/actions/check_style
+ - name: Ensure fresh merge
+ run: |
+ git checkout -B temp
+ git merge -q origin/main -m "merge main into temp"
+
+ - uses: bufbuild/buf-setup-action@v1
+ - uses: bufbuild/buf-breaking-action@v1
+ with:
+ input: "crates/rpc/proto/"
+ against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main,subdir=crates/rpc/proto/"
+
tests:
name: Run tests
runs-on: