Skip to content
Draft
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
46 changes: 23 additions & 23 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ env:

jobs:
build-pdf:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
cache: 'pip'
- name: Install Python Dependencies
run: |
pip install -r source/requirements.txt
- name: Install LaTeX
run: |
sudo apt-fast -y update
sudo apt-fast install -y texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra latexmk texlive-lang-greek texlive-luatex texlive-xetex texlive-fonts-extra dvipng librsvg2-bin
sudo apt-get -y update
sudo apt-get install -y texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra latexmk texlive-lang-greek texlive-luatex texlive-xetex texlive-fonts-extra dvipng librsvg2-bin
- name: Build PDF
run: |
make latexpdf
Expand All @@ -34,22 +34,22 @@ jobs:
if-no-files-found: error

build-html:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
cache: 'pip'
- name: Install Python Dependencies
run: |
pip install -r source/requirements.txt
- name: Install librsvg2
run: |
sudo apt-fast -y update
sudo apt-fast install -y librsvg2-bin
sudo apt-get -y update
sudo apt-get install -y librsvg2-bin
- name: Build HTML
run: |
make html
Expand All @@ -61,7 +61,7 @@ jobs:
if-no-files-found: error

build-html-translation:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -75,15 +75,15 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
cache: 'pip'
- name: Install Python Dependencies
run: |
pip install -r frc-docs/source/requirements.txt
- name: Install librsvg2
run: |
sudo apt-fast -y update
sudo apt-fast install -y librsvg2-bin
sudo apt-get -y update
sudo apt-get install -y librsvg2-bin
- name: Build HTML
run: |
sphinx-build -D language=es -b html . _build/html
Expand All @@ -92,7 +92,7 @@ jobs:
# # This job is sourced from https://github.com/aiven/devportal/blob/main/.github/workflows/linkcheck-changed-files.yaml
# # It is CC 4.0 I licensed: https://creativecommons.org/licenses/by/4.0/
# # Changes have been made.
# runs-on: ubuntu-22.04
# runs-on: ubuntu-24.04
# steps:
# - uses: actions/checkout@v4
# with:
Expand All @@ -102,7 +102,7 @@ jobs:
# uses: tj-actions/changed-files@v41
# - uses: actions/setup-python@v5
# with:
# python-version: "3.10"
# python-version: "3.11"
# - name: Install Dependencies
# run: pip install -r source/requirements.txt
# - name: Run linkcheck on .rst files
Expand All @@ -121,12 +121,12 @@ jobs:
# fi

check-linting:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
- name: Install Dependencies
run: |
pip install -r source/requirements.txt
Expand All @@ -135,12 +135,12 @@ jobs:
make lint

check-image-size:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
- name: Install Dependencies
run: |
pip install -r source/requirements.txt
Expand All @@ -149,7 +149,7 @@ jobs:
make sizecheck

check-spelling:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: misspell
Expand All @@ -162,15 +162,15 @@ jobs:
**/*.svg

check-redirects:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Checkout main
run: |
git fetch origin main --depth=1
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
- name: Install Dependencies
run: |
pip install -r source/requirements.txt
Expand All @@ -182,12 +182,12 @@ jobs:
[[ $(<source/redirects.txt) == $(git show origin/main:source/redirects.txt)* ]] || { echo "Error: redirects.txt can only be appended to. Lines cannot be modified or deleted."; exit 1; }

check-formatting:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
- name: Install Python Dependencies
run: |
pip install -r source/requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/base-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
check-base-branch:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Base Branch
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
check-links:
if: github.repository_owner == 'wpilibsuite'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
publish:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ github.repository_owner == 'wpilibsuite' }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-rli-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
check-rli:
if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '\inspector')
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
# ---- Find Trigger States ----
# Run Inspector autofix on everything
Expand Down
Loading