Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/pregen/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
using: "composite"
steps:
- name: Set up Python 3.12
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.12'
- name: Install jinja and protobuf
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/artifactory-nightly-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'wpilibsuite/allwpilib' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: jfrog/setup-jfrog-cli@v4
- uses: jfrog/setup-jfrog-cli@v5
env:
JF_ENV_1: ${{ secrets.ARTIFACTORY_CLI_SECRET }}
- name: Cleanup
Expand All @@ -23,10 +23,10 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'wpilibsuite/allwpilib' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: jfrog/setup-jfrog-cli@v4
- uses: jfrog/setup-jfrog-cli@v5
env:
JF_ENV_1: ${{ secrets.ARTIFACTORY_CLI_SECRET }}
- name: Cleanup
Expand Down
33 changes: 23 additions & 10 deletions .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Check disk free space post-cleanup
run: df -h

- uses: actions/checkout@v6
- uses: actions/checkout@v7
with: { fetch-depth: 0 }

- id: Setup_bazel_cache
Expand All @@ -85,7 +85,7 @@ jobs:
sudo avahi-daemon -D

- if: runner.os == 'Linux'
uses: bazel-contrib/setup-bazel@0.15.0
uses: bazel-contrib/setup-bazel@0.19.0
with:
bazelisk-cache: true
repository-cache: true
Expand Down Expand Up @@ -114,7 +114,20 @@ jobs:
name: "buildifier"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- name: Set up Go 1.15.x
uses: actions/setup-go@v7
Comment thread
Gold856 marked this conversation as resolved.
with:
cache: false
go-version: 1.15.x
id: go

- name: Install Buildifier
run: |
cd $(mktemp -d)
GO111MODULE=on go get github.com/bazelbuild/buildtools/buildifier@6.0.0

- uses: actions/checkout@v7
with: { fetch-depth: 0 }

- name: Run buildifier
run: bazel run //:buildifier.fix
Expand All @@ -135,7 +148,7 @@ jobs:
mod-lock:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Check lockfile
run: bazel mod deps --lockfile_mode=error
Expand All @@ -157,7 +170,7 @@ jobs:
name: "Non-RobotPy Pregen"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with: { fetch-depth: 0 }

- id: Setup_bazel_cache
Expand All @@ -177,7 +190,7 @@ jobs:
run: git diff HEAD > non-robotpy-pregeneration.patch
if: ${{ failure() }}

- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: non-robotpy-pregeneration-fixes
path: non-robotpy-pregeneration.patch
Expand All @@ -187,7 +200,7 @@ jobs:
name: "Robotpy Pregeneration"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with: { fetch-depth: 0 }

- id: Setup_bazel_cache
Expand Down Expand Up @@ -215,7 +228,7 @@ jobs:
run: git diff HEAD > robotpy-pregeneration.patch
if: ${{ failure() }}

- uses: actions/upload-artifact@v6
- uses: actions/upload-artifact@v7
with:
name: robotpy-pregeneration-fixes
path: robotpy-pregeneration.patch
Expand All @@ -228,11 +241,11 @@ jobs:
name: "RobotPy Formatting"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.12'
- name: Install black
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cmake-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
name: "Build - ${{ matrix.name }}"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: r27d
add-to-path: false

- name: Install sccache
uses: mozilla-actions/sccache-action@v0.0.9
uses: mozilla-actions/sccache-action@v0.0.10

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y ninja-build
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,23 @@ jobs:
if: runner.os == 'macOS'
run: brew install opencv ninja

- uses: ilammy/msvc-dev-cmd@v1.13.0
- uses: TheMrMilchmann/setup-msvc-dev@v4
if: runner.os == 'Windows'
with:
arch: x64

- name: Install CMake (Windows only)
if: runner.os == 'Windows'
uses: lukka/get-cmake@v3.29.3
uses: lukka/get-cmake@v4.4.0

- name: Install sccache
uses: mozilla-actions/sccache-action@v0.0.10

- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Run vcpkg (Windows only)
if: runner.os == 'Windows'
uses: lukka/run-vcpkg@v11.5
uses: lukka/run-vcpkg@v11.6
with:
vcpkgDirectory: ${{ runner.workspace }}/vcpkg
vcpkgGitCommitId: 74e6536215718009aae747d86d84b78376bf9e09 # HEAD on 2025-10-17
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: gradle/actions/wrapper-validation@v5
- uses: actions/checkout@v7
- uses: gradle/actions/wrapper-validation@v6

build-docker:
strategy:
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Check disk free space post-cleanup
run: df -h

- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Set release environment variable
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
- name: Check disk free space post-cleanup
run: df -h

- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-java@v5
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
runs-on: ubuntu-24.04
needs: [validation]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-java@v5
Expand All @@ -216,12 +216,12 @@ jobs:
needs: [build-documentation]
concurrency: ci-docs-publish
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false
- name: Download docs artifacts
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: Documentation
- name: Make output directories
Expand All @@ -247,11 +247,11 @@ jobs:
echo "BRANCH=release" >> $GITHUB_ENV
if: startsWith(github.ref, 'refs/tags/v') && !contains(github.ref, 'alpha') && !contains(github.ref, 'beta')
- name: Install SSH Client 🔑
uses: webfactory/ssh-agent@v0.9.1
uses: webfactory/ssh-agent@v0.10.0
with:
ssh-private-key: ${{ secrets.GH_DEPLOY_KEY }}
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.6.1
uses: JamesIves/github-pages-deploy-action@v4.8.0
with:
ssh-key: true
repository-name: wpilibsuite/wpilibsuite.github.io
Expand All @@ -260,7 +260,7 @@ jobs:
single-commit: true
folder: docs/tmp
- name: Trigger Workflow
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
github-token: ${{ secrets.DISPATCH_PAT_TOKEN }}
script: |
Expand Down Expand Up @@ -290,13 +290,13 @@ jobs:
docker-images: false
swap-storage: false

- uses: actions/checkout@v6
- uses: actions/checkout@v7
if: |
github.repository == 'wpilibsuite/allwpilib' &&
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
with:
repository: wpilibsuite/build-tools
- uses: actions/download-artifact@v7
- uses: actions/download-artifact@v8
if: |
github.repository == 'wpilibsuite/allwpilib' &&
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v6
- uses: actions/labeler@v7
with:
sync-labels: true
16 changes: 8 additions & 8 deletions .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@ jobs:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: gradle/actions/wrapper-validation@v5
- uses: actions/checkout@v7
- uses: gradle/actions/wrapper-validation@v6

wpiformat:
name: "wpiformat"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Fetch all history and metadata
run: |
git checkout -b pr
git branch -f main origin/main
- name: Set up Python 3.12
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.12'
- name: Install wpiformat
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
needs: [validation]
container: wpilib/debian-base:trixie
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Fetch all history and metadata
Expand All @@ -73,7 +73,7 @@ jobs:
git checkout -b pr
git branch -f main origin/main
- name: Set up Python 3.12
uses: actions/setup-python@v6
uses: actions/setup-python@v7
with:
python-version: '3.12'
- name: Install wpiformat
Expand All @@ -97,7 +97,7 @@ jobs:
needs: [validation]
container: wpilib/debian-base:trixie
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Fetch all history and metadata
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
check-spelling:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- name: misspell
uses: reviewdog/action-misspell@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pregenerate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: "Update"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Run pregen
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Install sccache
uses: mozilla-actions/sccache-action@v0.0.10

- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: configure
run: mkdir build && cd build && cmake -G Ninja -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-19 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-19 ${{ matrix.cmake-flags }} ..
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sentinel-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: gradle/actions/wrapper-validation@v5
- uses: actions/checkout@v7
- uses: gradle/actions/wrapper-validation@v6

build-docker:
if: (github.repository_owner == 'wpilibsuite' && github.ref == 'refs/heads/main') || github.event_name != 'schedule'
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
large-packages: false
docker-images: false
swap-storage: false
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Build with Gradle
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
runs-on: ${{ matrix.os }}
needs: [validation]
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-java@v5
Expand Down
Loading
Loading