From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C1700158041 for ; Fri, 15 Mar 2024 21:57:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5190E29E3; Fri, 15 Mar 2024 21:57:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A92C3E29E3 for ; Fri, 15 Mar 2024 21:57:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79A7F33BDEF for ; Fri, 15 Mar 2024 21:57:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 152C37E7 for ; Fri, 15 Mar 2024 21:57:06 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1710538456.b276077666c2fca47c91eae19669f1bf6c0c702f.floppym@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: .github/workflows/ X-VCS-Repository: proj/portage X-VCS-Files: .github/workflows/ci.yml .github/workflows/lint.yml .github/workflows/pre-commit.yml X-VCS-Directories: .github/workflows/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: b276077666c2fca47c91eae19669f1bf6c0c702f X-VCS-Branch: master Date: Fri, 15 Mar 2024 21:57:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0cba61a0-0fe9-4b28-baa7-3f5aa10e79e1 X-Archives-Hash: b318f9fbed224661789b8bdaba44f1fe commit: b276077666c2fca47c91eae19669f1bf6c0c702f Author: Mike Gilbert gentoo org> AuthorDate: Fri Mar 15 20:27:06 2024 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Fri Mar 15 21:34:16 2024 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=b2760776 github: update actions to avoid deprecation warnings Signed-off-by: Mike Gilbert gentoo.org> .github/workflows/ci.yml | 6 +++--- .github/workflows/lint.yml | 13 ++++++------- .github/workflows/pre-commit.yml | 8 +++++--- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4168203d4..2ac66970e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - '3.9' - '3.10' - '3.11' - - '3.12-dev' + - '3.12' - '3.13-dev' - 'pypy-3.10' exclude: @@ -34,9 +34,9 @@ jobs: start-method: 'spawn' fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2091796b7c..ddcd9d486d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,13 +6,13 @@ jobs: black: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Collect stragglers that Black misses" id: stragglers run: | - echo "::set-output name=missed::$( + echo "missed=$( find bin -type f -not -name '*.py' -not -name '*.sh' | \ - xargs grep -l '#!/usr/bin/env python' | tr $'\n' ' ')" + xargs grep -l '#!/usr/bin/env python' | tr $'\n' ' ')" >> $GITHUB_OUTPUT - uses: psf/black@24.1.1 with: src: . ${{ steps.stragglers.outputs.missed }} @@ -25,13 +25,12 @@ jobs: - '3.9' - '3.10' - '3.11' - # pylint currently broken under 3.12 - # - '3.12-dev' + - '3.12' fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install python dependencies diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index ad71791c0b..1c3fbc48b0 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -9,6 +9,8 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - - uses: pre-commit/action@v3.0.0 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - uses: pre-commit/action@v3.0.1