Skip to content

Commit

Permalink
chore: Add restyled workflow in common CI actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Nov 5, 2024
1 parent 13e0dc5 commit 0ee64c1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ on:

jobs:
common:
uses: TokTok/ci-tools/.github/workflows/common-ci.yml@master
uses: ./.github/workflows/common-ci.yml
13 changes: 13 additions & 0 deletions .github/workflows/common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,16 @@ jobs:
chmod +x buildifier
- name: Check
run: ./buildifier --lint=warn --warnings=all -mode diff $(find . -type f -name "WORKSPACE" -or -name "BUILD.*")

restyled:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: restyled-io/actions/setup@v4
- id: restyler
uses: restyled-io/actions/run@v4
with:
fail-on-differences: true

0 comments on commit 0ee64c1

Please sign in to comment.