diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 41386e4ff3..51fc0cd6c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: TX_TOKEN: ${{ secrets.TX_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Get date id: get-date run: | @@ -23,14 +23,14 @@ jobs: shell: bash - name: cache pip id: cache-pip - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cache/pip ~/.local/ key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ steps.get-date.outputs.yyyymm }} - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Check Python version @@ -65,7 +65,7 @@ jobs: git commit -m "[skip ci] by GHA https://github.com/${{ github.repository }}/actions/runs/${{ github.run_number }}" - name: GitHub Push if: github.event_name != 'pull_request' - uses: ad-m/github-push-action@v0.6.0 + uses: ad-m/github-push-action@v0.8.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ github.ref }}