From 50dc94b5e396891c67b30e10f568aa4cfcfe285f Mon Sep 17 00:00:00 2001 From: Spencer Nelson Date: Sun, 15 Jun 2025 22:02:35 -0700 Subject: [PATCH] Update github actions step versions --- .github/workflows/black.yaml | 2 +- .github/workflows/prepare-release.yaml | 14 +++++++------- .github/workflows/publish-pypi.yaml | 10 +++++----- .github/workflows/test.yaml | 14 +++++++------- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/black.yaml b/.github/workflows/black.yaml index b04fb15..db16944 100644 --- a/.github/workflows/black.yaml +++ b/.github/workflows/black.yaml @@ -6,5 +6,5 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4.2.2 - uses: psf/black@stable diff --git a/.github/workflows/prepare-release.yaml b/.github/workflows/prepare-release.yaml index 0fb2f4d..279119a 100644 --- a/.github/workflows/prepare-release.yaml +++ b/.github/workflows/prepare-release.yaml @@ -11,26 +11,26 @@ jobs: runs-on: "ubuntu-latest" steps: - name: Checkout code - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4.2.2 with: fetch-depth: 0 - name: Setup Python - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v5.6.0 with: - python-version: "3.8" + python-version: 3.13 - name: python --version run: | python --version python3 --version - name: Setup protoc - uses: arduino/setup-protoc@v1 + uses: arduino/setup-protoc@v3.0.0 with: - version: "3.17.3" + version: "31.1" - name: protoc --version run: protoc --version - name: Permacache Poetry id: cache-poetry - uses: actions/cache@v2.1.6 + uses: actions/cache@v4.2.3 with: path: ~/.poetry key: poetry @@ -57,7 +57,7 @@ jobs: run: poetry check --no-interaction - name: Cache dependencies id: cache-deps - uses: actions/cache@v2.1.6 + uses: actions/cache@v4.2.3 with: path: ${{github.workspace}}/.venv key: poetry-${{ hashFiles('**/poetry.lock') }} diff --git a/.github/workflows/publish-pypi.yaml b/.github/workflows/publish-pypi.yaml index 7125ced..3e9c4d0 100644 --- a/.github/workflows/publish-pypi.yaml +++ b/.github/workflows/publish-pypi.yaml @@ -10,14 +10,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4.2.2 - name: Setup Python - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v5.6.0 with: - python-version: "3.8" + python-version: "3.13" - name: Permacache Poetry id: cache-poetry - uses: actions/cache@v2.1.6 + uses: actions/cache@v4.2.3 with: path: ~/.poetry key: poetry @@ -34,7 +34,7 @@ jobs: run: poetry check --no-interaction - name: Cache dependencies id: cache-deps - uses: actions/cache@v2.1.6 + uses: actions/cache@v4.2.3 with: path: ${{github.workspace}}/.venv key: poetry-${{ hashFiles('**/poetry.lock') }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bd9a073..9f83d38 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,25 +16,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4.2.2 - name: Setup Python - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v5.6.0 with: - python-version: 3.8 + python-version: 3.13 - name: python --version run: | python --version python3 --version - name: Setup protoc - uses: arduino/setup-protoc@v1 + uses: arduino/setup-protoc@v3.0.0 with: - version: "3.17.3" + version: "31.1" - name: protoc --version run: protoc --version # Perma-cache Poetry since we only need it for checking pyproject version - name: Cache Poetry id: cache-poetry - uses: actions/cache@v2.1.6 + uses: actions/cache@v4.2.3 with: path: ~/.poetry key: poetry @@ -54,7 +54,7 @@ jobs: run: poetry check --no-interaction - name: Cache dependencies id: cache-deps - uses: actions/cache@v2.1.6 + uses: actions/cache@v4.2.3 with: path: ${{github.workspace}}/.venv key: deps-${{ hashFiles('**/poetry.lock') }}