Change summary
.github/actions/check_style/action.yml | 6 ------
.github/workflows/ci.yml | 11 +++++++++++
2 files changed, 11 insertions(+), 6 deletions(-)
Detailed changes
@@ -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/"
@@ -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: