From 988f683b055d819097e2b4a575fecb32c8f1d240 Mon Sep 17 00:00:00 2001 From: Benjy Weinberger Date: Tue, 26 Nov 2024 18:28:34 -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 a59ca30..7729a39 100644 --- a/.github/workflows/pants.yaml +++ b/.github/workflows/pants.yaml @@ -23,7 +23,7 @@ jobs: matrix: python-version: [3.8] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -62,7 +62,7 @@ jobs: run: | pants lint check test :: - 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 22e578d..b4dbac9 100644 --- a/pants.toml +++ b/pants.toml @@ -1,5 +1,5 @@ [GLOBAL] -pants_version = "2.21.0" +pants_version = "2.23.0" backend_packages = [ "pants.backend.codegen.protobuf.lint.buf", From a6915de9e2a4cc281e33d492c07f98a5ee4f3ee2 Mon Sep 17 00:00:00 2001 From: Benjy Weinberger Date: Tue, 26 Nov 2024 19:06:01 -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 7729a39..709e1a2 100644 --- a/.github/workflows/pants.yaml +++ b/.github/workflows/pants.yaml @@ -1,7 +1,7 @@ # Copyright 2022 Pants project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). -# 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 @@ -45,7 +45,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: Download Apache `thrift` binary run: |