diff --git a/.github/workflows/auto-comment.yml b/.github/workflows/auto-comment.yml index 526dd14f..31e2b3e9 100644 --- a/.github/workflows/auto-comment.yml +++ b/.github/workflows/auto-comment.yml @@ -9,10 +9,10 @@ jobs: name: Process Label Action runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Process Label Action - uses: hramos/respond-to-issue-based-on-label@v2 + uses: dessant/label-actions@v4 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - configuration-path: '.github/label-actions.yml' + github-token: ${{ secrets.GITHUB_TOKEN }} + config-path: '.github/label-actions.yml' diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 53d83db6..d224f902 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/sdk-build.yml b/.github/workflows/sdk-build.yml index b90cf85f..e1053946 100644 --- a/.github/workflows/sdk-build.yml +++ b/.github/workflows/sdk-build.yml @@ -19,9 +19,9 @@ jobs: PYTHON: ${{ matrix.python-version }} 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 @@ -41,7 +41,7 @@ jobs: run: | coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 if: ${{ matrix.python-version == '3.12' }} with: directory: ./ @@ -51,3 +51,4 @@ jobs: flags: unittests name: codecov-umbrella verbose: true + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/sdk-release.yaml b/.github/workflows/sdk-release.yaml index c5a76b51..6cc56262 100644 --- a/.github/workflows/sdk-release.yaml +++ b/.github/workflows/sdk-release.yaml @@ -25,7 +25,7 @@ jobs: ref: ${{ github.ref }} - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" @@ -61,7 +61,7 @@ jobs: run: bash build.sh - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wheels path: dist/ diff --git a/.github/workflows/secrets-sdk.yml b/.github/workflows/secrets-sdk.yml index 6e454834..780954cb 100644 --- a/.github/workflows/secrets-sdk.yml +++ b/.github/workflows/secrets-sdk.yml @@ -31,8 +31,8 @@ jobs: target: [x86_64, x86, aarch64, armv7, s390x] fail-fast: false steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" - name: Set environment variables @@ -57,9 +57,9 @@ jobs: apt-get update && apt-get install -y libsecret-1-dev:${{ env.CROSS_DEB_ARCH }} pkg-config fi - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-linux-${{matrix.target}} path: src/secrets/dist windows: @@ -69,8 +69,8 @@ jobs: target: [x64, x86, aarch64] fail-fast: false steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 if: ${{ matrix.target != 'aarch64' }} with: python-version: "3.10" @@ -83,9 +83,9 @@ jobs: sccache: "true" working-directory: src/secrets - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-windows-${{matrix.target}} path: src/secrets/dist macos: @@ -95,8 +95,8 @@ jobs: target: [x86_64, aarch64] fail-fast: false steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.10" - name: Build wheels @@ -107,15 +107,15 @@ jobs: sccache: "true" working-directory: src/secrets - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-macos-${{matrix.target}} path: src/secrets/dist sdist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build sdist uses: PyO3/maturin-action@v1 with: @@ -123,9 +123,9 @@ jobs: args: --out dist working-directory: src/secrets - name: Upload sdist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-sdist path: src/secrets/dist release: @@ -134,9 +134,11 @@ jobs: if: ${{ startsWith(github.ref, 'refs/tags/') }} needs: [linux, windows, macos, sdist] steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: wheels + pattern: wheels-*-* + merge-multiple: true + - name: Publish to PyPI uses: PyO3/maturin-action@v1 env: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 4d7ac817..17f632a6 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -11,7 +11,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: # General rules applied to both, issues and pull requests (PRs) start-date: "2022-07-30T00:00:00Z"