Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
GitHub Actions: split the workflows (#15403)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariya committed May 25, 2020
1 parent 3172296 commit 08d49a7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Code style

on: [push, pull_request]

jobs:

codestyle:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: brew install clang-format
name: Install clang-format
- run: clang-format --version
- run: bash ./tools/format-code.sh
name: Run code formatter
- run: git diff --quiet HEAD
name: Check if the styling guide is followed
12 changes: 0 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@ on:

jobs:

codestyle:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- run: brew install clang-format
name: Install clang-format
- run: clang-format --version
- run: bash ./tools/format-code.sh
name: Run code formatter
- run: git diff --quiet HEAD
name: Check if the styling guide is followed

amd64_linux_clang:
runs-on: ubuntu-18.04
steps:
Expand Down

0 comments on commit 08d49a7

Please sign in to comment.