From 8c20648e5b3cb630211af906a109c64a7e942fad Mon Sep 17 00:00:00 2001 From: MrFizzyBubbs <82386733+MrFizzyBubbs@users.noreply.github.com> Date: Thu, 29 Aug 2024 13:03:41 -0500 Subject: [PATCH] Update actions --- .github/actions/setup-poetry/action.yml | 2 +- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/publish-to-pypi.yml | 4 ++-- .github/workflows/publish-to-test-pypi.yml | 6 +++--- .github/workflows/update-kolmafia.yml | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/actions/setup-poetry/action.yml b/.github/actions/setup-poetry/action.yml index 07dfb63..831f2aa 100644 --- a/.github/actions/setup-poetry/action.yml +++ b/.github/actions/setup-poetry/action.yml @@ -6,7 +6,7 @@ runs: steps: - name: Load cached Poetry installation id: cached-poetry - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.local key: dotlocal-${{ runner.os }}-${{ hashFiles('.github/actions/setup-poetry/action.yml') }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3afe692..e37b6d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Continuous Integration +name: CI on: push: branches: [main] @@ -10,11 +10,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Poetry uses: ./.github/actions/setup-poetry - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: "poetry" @@ -30,16 +30,16 @@ jobs: name: test (Python ${{ matrix.python-version }}) steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Poetry uses: ./.github/actions/setup-poetry - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: "poetry" - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version-file: .java-version distribution: temurin diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 172bead..a69bfd7 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -7,13 +7,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Poetry uses: ./.github/actions/setup-poetry - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: "poetry" diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 1b271a6..71dccd5 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -1,5 +1,5 @@ name: Publish to Test PyPI -on: +on: workflow_dispatch: inputs: version: @@ -12,13 +12,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Poetry uses: ./.github/actions/setup-poetry - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: "poetry" diff --git a/.github/workflows/update-kolmafia.yml b/.github/workflows/update-kolmafia.yml index 5369933..195819e 100644 --- a/.github/workflows/update-kolmafia.yml +++ b/.github/workflows/update-kolmafia.yml @@ -18,16 +18,16 @@ jobs: : ${{ github.event.inputs.revision }})) " >> $GITHUB_ENV - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Poetry uses: ./.github/actions/setup-poetry - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: "poetry" - name: Set up Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version-file: .java-version distribution: temurin