Unverified Commit 9cedb3cc authored by boojack's avatar boojack Committed by GitHub

chore: update github actions (#2050)

parent d0cfb62f
...@@ -5,6 +5,8 @@ on: ...@@ -5,6 +5,8 @@ on:
branches: branches:
- main - main
- "release/*.*.*" - "release/*.*.*"
paths:
- "web/**"
jobs: jobs:
eslint-checks: eslint-checks:
......
name: Proto linter
on:
pull_request:
branches:
- main
- "release/*.*.*"
paths:
- "proto/**"
jobs:
lint-protos:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup buf
uses: bufbuild/buf-setup-action@v1
- name: buf lint
uses: bufbuild/buf-lint-action@v1
with:
input: "proto"
- name: buf format
run: |
if [[ $(buf format -d) ]]; then
echo "Run 'buf format -w'"
exit 1
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment