Skip to content

Commit

Permalink
Update verify_code.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
VyaasBaskar authored Sep 2, 2024
1 parent d7c9b50 commit fdfa106
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/verify_code.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- "**"

jobs:
build:
verify_functional:
runs-on: ubuntu-latest
container: wpilib/roborio-cross-ubuntu:2024-22.04

Expand All @@ -23,9 +23,6 @@ jobs:
echo "pcre-8.45" > cache-directory-2.txt
echo "cppcheck-2.12.1" >> cache-directory-2.txt
- name: Install clang-format
run: sudo apt-get update && sudo apt-get install -y clang-format

- name: Cache PCRE and CppCheck
id: cache-deps
uses: actions/cache@v3
Expand Down Expand Up @@ -73,8 +70,19 @@ jobs:
- name: Install Roborio Toolchain
run: ./gradlew installRoborioToolchain

# - name: Spotless Check
# run: ./gradlew spotlessCheck -PfromCI

- name: Compile code and run tests
run: ./gradlew build -PfromCI

verify_format:
runs-on: ubuntu-latest
container: wpilib/roborio-cross-ubuntu:2024-22.04

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install clang-format
run: sudo apt-get update && sudo apt-get install -y clang-format

# - name: Spotless Check
# run: ./gradlew spotlessCheck -PfromCI

0 comments on commit fdfa106

Please sign in to comment.