From d20c2f66ad2a54cd78c2d4e568a374712b9a26bb Mon Sep 17 00:00:00 2001 From: Benjy Weinberger Date: Tue, 26 Nov 2024 17:57:59 -0800 Subject: [PATCH] Upgrade Pants to 2.23.0 (#34) --- .github/workflows/pants.yaml | 8 ++++---- pants.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pants.yaml b/.github/workflows/pants.yaml index bc1e7e2..7d83436 100644 --- a/.github/workflows/pants.yaml +++ b/.github/workflows/pants.yaml @@ -1,7 +1,7 @@ # Copyright 2021 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 @@ -20,7 +20,7 @@ jobs: needs: org-check runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: pantsbuild/actions/init-pants@v5-scie-pants # This action bootstraps pants and manages 2-3 GHA caches. # See: github.com/pantsbuild/actions/tree/main/init-pants/ @@ -37,7 +37,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: pants --version @@ -49,7 +49,7 @@ jobs: run: | 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 23be93f..3ba55a6 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 = [ # This repository demonstrates a mix of Java and Scala, and so both backends are enabled. But each # backend can be used independently, so there is no need to expose Scala BUILD file