From 7dbfeae99a73bb3cb87c9c7116f5f6fc14ecd462 Mon Sep 17 00:00:00 2001 From: Julian Date: Sun, 10 Sep 2023 18:31:38 +1000 Subject: [PATCH] Update github actions to latest versions (#1680) * Update action versions Getting deprecation warnings, so time to upgrade. * Use setup-python@v4 --- .github/workflows/android.yml | 4 ++-- .github/workflows/ios.yml | 4 ++-- .github/workflows/pypi-release.yml | 4 ++-- .github/workflows/support.yml | 2 +- .github/workflows/test_python.yml | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index d18a81469..4a224c195 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -14,10 +14,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.8 - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup environment run: | pip install -e . diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 82acf0e28..9601c7c75 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -15,10 +15,10 @@ jobs: - name: Setup python # Needs to be skipped on our self-hosted runners tagged as 'apple-silicon-m1' if: ${{ matrix.runs_on != 'apple-silicon-m1' }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup environment run: | source .ci/osx_ci.sh diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 9c34f8559..a7dad04ab 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -5,9 +5,9 @@ jobs: pypi_release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.x - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.x - name: Install dependencies diff --git a/.github/workflows/support.yml b/.github/workflows/support.yml index 4b05ab2ab..4d12d8577 100644 --- a/.github/workflows/support.yml +++ b/.github/workflows/support.yml @@ -11,7 +11,7 @@ jobs: action: runs-on: ubuntu-latest steps: - - uses: dessant/support-requests@v2 + - uses: dessant/support-requests@v3 with: github-token: ${{ github.token }} support-label: 'support' diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index aadc5826f..fa4d956a7 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -18,10 +18,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} @@ -39,7 +39,7 @@ jobs: Docker: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Docker build run: docker build --tag=kivy/buildozer . - name: Docker run