From 8bf6c8256f2f5e4744009cd4894c7a6a3e15c3a7 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Mon, 28 Oct 2024 18:57:14 -0400 Subject: [PATCH] update actions to python 3.12 --- .github/workflows/comment-command.yml | 8 ++++---- .github/workflows/lint-format.yml | 8 ++++---- .github/workflows/pregenerate.yml | 4 ++-- .github/workflows/upstream-utils.yml | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/comment-command.yml b/.github/workflows/comment-command.yml index 162ac4859f6..20738ef2b2b 100644 --- a/.github/workflows/comment-command.yml +++ b/.github/workflows/comment-command.yml @@ -33,10 +33,10 @@ jobs: env: GITHUB_TOKEN: "${{ secrets.COMMENT_COMMAND_PAT_TOKEN }}" NUMBER: ${{ github.event.issue.number }} - - name: Set up Python 3.10 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' - name: Setup Java uses: actions/setup-java@v4 with: @@ -81,10 +81,10 @@ jobs: env: GITHUB_TOKEN: "${{ secrets.COMMENT_COMMAND_PAT_TOKEN }}" NUMBER: ${{ github.event.issue.number }} - - name: Set up Python 3.9 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: '3.12' - name: Install jinja run: python -m pip install jinja2 - name: Install protobuf dependencies diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 09e76ce23e0..f289875be7c 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -22,10 +22,10 @@ jobs: run: | git checkout -b pr git branch -f main origin/main - - name: Set up Python 3.10 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' - name: Install wpiformat run: pip3 install wpiformat==2024.44 - name: Run @@ -61,10 +61,10 @@ jobs: git config --global --add safe.directory /__w/allwpilib/allwpilib git checkout -b pr git branch -f main origin/main - - name: Set up Python 3.10 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' - name: Install wpiformat run: pip3 install wpiformat==2024.44 - name: Create compile_commands.json diff --git a/.github/workflows/pregenerate.yml b/.github/workflows/pregenerate.yml index 692bef1609d..db17ce371cd 100644 --- a/.github/workflows/pregenerate.yml +++ b/.github/workflows/pregenerate.yml @@ -18,10 +18,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Python 3.9 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: '3.12' - name: Install jinja run: python -m pip install jinja2 - name: Install protobuf dependencies diff --git a/.github/workflows/upstream-utils.yml b/.github/workflows/upstream-utils.yml index c9cd4d681c1..07a58271691 100644 --- a/.github/workflows/upstream-utils.yml +++ b/.github/workflows/upstream-utils.yml @@ -22,10 +22,10 @@ jobs: run: | git checkout -b pr git branch -f main origin/main - - name: Set up Python 3.9 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: '3.12' - name: Configure committer identity run: | git config --global user.email "you@example.com"