[ci] Upgrade to Ubuntu 24.04 (#7496)

This commit is contained in:
Tyler Veness
2024-12-07 21:20:48 -08:00
committed by GitHub
parent c497e4ec22
commit c81bd0c909
12 changed files with 55 additions and 49 deletions

View File

@@ -6,7 +6,7 @@ on:
jobs:
format:
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/format')
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: React Rocket
uses: actions/github-script@v7
@@ -43,9 +43,11 @@ jobs:
distribution: 'temurin'
java-version: 17
- name: Install wpiformat
run: pip3 install wpiformat==2024.50
run: |
python -m venv ${{ runner.temp }}/wpiformat
${{ runner.temp }}/wpiformat/bin/pip3 install wpiformat==2024.50
- name: Run wpiformat
run: wpiformat
run: ${{ runner.temp }}/wpiformat/bin/wpiformat
- name: Run spotlessApply
run: ./gradlew spotlessApply
- name: Commit
@@ -59,7 +61,7 @@ jobs:
pregen:
if: github.event.issue.pull_request && startsWith(github.event.comment.body, '/pregen')
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: React Rocket
uses: actions/github-script@v7