Skip to content

Commit

Permalink
create clang tidy action
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLuGit committed Mar 21, 2024
1 parent fd33279 commit 05aa548
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build Project

on:
pull_request:
types: [review_requested, ready_for_review]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install ARM Toolchain
uses: carlosperate/[email protected]
with:
release: "10.3-2021.10"
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- run: pip install pros-cli
- name: Checkout
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
- name: Build Project
run: pros build-compile-commands
- name: Run clang-tidy
uses: ZedThree/[email protected]

0 comments on commit 05aa548

Please sign in to comment.