From a0a99b7e128dc960ef1b05c51bc72a9729a560a8 Mon Sep 17 00:00:00 2001 From: Benjy Weinberger Date: Tue, 26 Nov 2024 18:46:48 -0500 Subject: [PATCH 1/2] Upgrade Pants to 2.23.0 --- .github/workflows/pants.yaml | 4 ++-- pants.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pants.yaml b/.github/workflows/pants.yaml index e9b5a75..128cdeb 100644 --- a/.github/workflows/pants.yaml +++ b/.github/workflows/pants.yaml @@ -22,7 +22,7 @@ jobs: matrix: python-version: [3.9] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -63,7 +63,7 @@ jobs: # We also smoke test that our release process will work by running `package`. pants package :: - name: Upload pants log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pants-log path: .pants.d/pants.log diff --git a/pants.toml b/pants.toml index 5be8c0e..1ede5e2 100644 --- a/pants.toml +++ b/pants.toml @@ -2,7 +2,7 @@ # Licensed under the Apache License, Version 2.0 (see LICENSE). [GLOBAL] -pants_version = "2.21.0" +pants_version = "2.23.0" backend_packages.add = [ 'pants.backend.python', From e3bdfbe0c2198d5324ec1c5a6eb0dd1cf4c719ee Mon Sep 17 00:00:00 2001 From: Benjy Weinberger Date: Tue, 26 Nov 2024 19:06:48 -0500 Subject: [PATCH 2/2] Update doc link --- .github/workflows/pants.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pants.yaml b/.github/workflows/pants.yaml index 128cdeb..89fd305 100644 --- a/.github/workflows/pants.yaml +++ b/.github/workflows/pants.yaml @@ -1,4 +1,4 @@ -# See https://www.pantsbuild.org/2.21/docs/using-pants/using-pants-in-ci for tips on how to set up your CI with Pants. +# See https://www.pantsbuild.org/stable/docs/using-pants/using-pants-in-ci for tips on how to set up your CI with Pants. name: Pants @@ -44,7 +44,7 @@ jobs: # Note that named_caches and lmdb_store falls back to partial restore keys which # may give a useful partial result that will save time over completely clean state, # but will cause the cache entry to grow without bound over time. - # See https://www.pantsbuild.org/2.21/docs/using-pants/using-pants-in-ci for tips on how to periodically clean it up. + # See https://www.pantsbuild.org/stable/docs/using-pants/using-pants-in-ci for tips on how to periodically clean it up. # Alternatively you change gha-cache-key to ignore old caches. - name: Bootstrap Pants run: |