diff --git a/.github/actions/setup-node/action.yml b/.github/actions/setup-node/action.yml index dd08b940..64daf714 100644 --- a/.github/actions/setup-node/action.yml +++ b/.github/actions/setup-node/action.yml @@ -19,7 +19,7 @@ runs: run: | echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 name: Setup pnpm cache with: path: ${{ env.STORE_PATH }} diff --git a/.github/actions/setup-python/action.yml b/.github/actions/setup-python/action.yml index 7a6f9c80..2a374966 100644 --- a/.github/actions/setup-python/action.yml +++ b/.github/actions/setup-python/action.yml @@ -11,10 +11,10 @@ runs: using: "composite" steps: - name: setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} - name: Setup Poetry - uses: Gr1N/setup-poetry@v8 + uses: Gr1N/setup-poetry@v9 with: poetry-version: "1.3.2" diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index b3e59dab..531c7465 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -18,9 +18,9 @@ jobs: group: pull-request-changelog cancel-in-progress: true steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 id: release-drafter env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release-trigger.yml b/.github/workflows/release-trigger.yml index d537fdd9..be95eff1 100644 --- a/.github/workflows/release-trigger.yml +++ b/.github/workflows/release-trigger.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: main token: ${{ secrets.GH_PAT }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03d294b9..454a88a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: pull-requests: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python environment uses: ./.github/actions/setup-python @@ -28,7 +28,7 @@ jobs: - run: | echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - - uses: release-drafter/release-drafter@v5 + - uses: release-drafter/release-drafter@v6 with: name: Release ${{ env.TAG_NAME }} tag: ${{ env.TAG_NAME }} diff --git a/.github/workflows/test-no-adapters.yml b/.github/workflows/test-no-adapters.yml index 4fd50263..57f11591 100644 --- a/.github/workflows/test-no-adapters.yml +++ b/.github/workflows/test-no-adapters.yml @@ -27,7 +27,7 @@ jobs: PYTHON_VERSION: 3.12 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python environment uses: ./.github/actions/setup-python @@ -41,7 +41,7 @@ jobs: run: poetry run pytest --cov-report xml --cov=./nonebot_plugin_saa - name: Upload coverage report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: env_vars: OS,PYTHON_VERSION token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ef7a579f..603cdd0b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: PYTHON_VERSION: ${{ matrix.python-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python environment uses: ./.github/actions/setup-python @@ -44,7 +44,7 @@ jobs: run: poetry run pytest --cov-report xml --cov=./nonebot_plugin_saa - name: Upload coverage report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: env_vars: OS,PYTHON_VERSION token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index 76f6e8cf..52ff8bd7 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -27,7 +27,7 @@ jobs: run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_ENV - name: Deploy to Netlify - uses: nwtgck/actions-netlify@v2 + uses: nwtgck/actions-netlify@v3 with: publish-dir: "./docs/build" production-deploy: true diff --git a/.github/workflows/website-preview.yml b/.github/workflows/website-preview.yml index e245286d..55cc1a5f 100644 --- a/.github/workflows/website-preview.yml +++ b/.github/workflows/website-preview.yml @@ -27,7 +27,7 @@ jobs: echo "DEPLOY_NAME=deploy-preview-${{ github.event.number }}" >> $GITHUB_ENV - name: Deploy to Netlify - uses: nwtgck/actions-netlify@v2 + uses: nwtgck/actions-netlify@v3 with: publish-dir: "./docs/build" production-deploy: false