From acadf7faf3951b310237d86fb3a021698e1b85fa Mon Sep 17 00:00:00 2001 From: Ali Ebrahim Date: Tue, 9 Jan 2024 17:30:03 +0000 Subject: [PATCH] Update github actions dependencies. Also setup depandabot to automate this in the future. --- .github/dependabot.yml | 8 ++++++++ .github/workflows/annotate_pr.yml | 2 +- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 4 ++-- 4 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..93ce313 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json + +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: monthly diff --git a/.github/workflows/annotate_pr.yml b/.github/workflows/annotate_pr.yml index 9732ea5..404f319 100644 --- a/.github/workflows/annotate_pr.yml +++ b/.github/workflows/annotate_pr.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-2019, macos-11] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha.1", "pypy3.10", "pypy3.9"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha.2", "pypy3.10", "pypy3.9"] steps: - name: Test Report uses: dorny/test-reporter@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0084cb9..d28bbc0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,12 +14,12 @@ jobs: with: fetch-depth: -1 fetch-tags: true - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.11 cache: pip - run: pip wheel . - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: wheel path: ./*.whl @@ -34,7 +34,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheel path: dist/ @@ -52,7 +52,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: wheel path: dist/ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d284b7..4762d53 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: steps: - 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 }} cache: pip @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: 3.11 cache: pip