diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 3911345f64..15b0005e59 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -28,7 +28,7 @@ jobs: - name: Fetch all history and metadata run: | git checkout -b pr - git branch -f 2027 origin/2027 + git branch -f main origin/main - name: Set up Python 3.12 uses: actions/setup-python@v6 with: @@ -38,7 +38,7 @@ jobs: python -m venv ${{ runner.temp }}/wpiformat ${{ runner.temp }}/wpiformat/bin/pip3 install wpiformat==2026.57 - name: Run - run: ${{ runner.temp }}/wpiformat/bin/wpiformat -default-branch 2027 + run: ${{ runner.temp }}/wpiformat/bin/wpiformat - name: Check output run: git --no-pager diff --exit-code HEAD - name: Generate diff @@ -70,7 +70,7 @@ jobs: run: | git config --global --add safe.directory /__w/allwpilib/allwpilib git checkout -b pr - git branch -f 2027 origin/2027 + git branch -f main origin/main - name: Set up Python 3.12 uses: actions/setup-python@v6 with: @@ -85,11 +85,11 @@ jobs: ./.github/workflows/fix_compile_commands.py build/TargetedCompileCommands/linuxx86-64release/compile_commands.json ./.github/workflows/fix_compile_commands.py build/TargetedCompileCommands/linuxx86-64debug/compile_commands.json - name: List changed files - run: ${{ runner.temp }}/wpiformat/bin/wpiformat -default-branch 2027 -list-changed-files + run: ${{ runner.temp }}/wpiformat/bin/wpiformat -list-changed-files - name: Run clang-tidy release - run: ${{ runner.temp }}/wpiformat/bin/wpiformat -default-branch 2027 -no-format -tidy-changed -compile-commands=build/TargetedCompileCommands/linuxx86-64release + run: ${{ runner.temp }}/wpiformat/bin/wpiformat -no-format -tidy-changed -compile-commands=build/TargetedCompileCommands/linuxx86-64release - name: Run clang-tidy debug - run: ${{ runner.temp }}/wpiformat/bin/wpiformat -default-branch 2027 -no-format -tidy-changed -compile-commands=build/TargetedCompileCommands/linuxx86-64debug + run: ${{ runner.temp }}/wpiformat/bin/wpiformat -no-format -tidy-changed -compile-commands=build/TargetedCompileCommands/linuxx86-64debug javaformat: name: "Java format" runs-on: ubuntu-24.04 @@ -103,7 +103,7 @@ jobs: run: | git config --global --add safe.directory /__w/allwpilib/allwpilib git checkout -b pr - git branch -f 2027 origin/2027 + git branch -f main origin/main - name: Run Java format run: ./gradlew javaFormat spotbugsMain spotbugsTest spotbugsDev - name: Check output