diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 028b6ef6d..cc742b9a1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,14 +14,14 @@ jobs: python-version: [3.6, 3.7, 3.8, 3.9] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -40,9 +40,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python 3.8 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.8 - name: Install mypy & stubs packages @@ -60,12 +60,12 @@ jobs: steps: - name: Set up Python 3.9 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.9 - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Black run: python -m pip install black @@ -91,7 +91,7 @@ jobs: id: sha run: | new_sha=$(git rev-parse HEAD) - echo "::set-output name=SHA::$new_sha" + echo "SHA=$new_sha" >> $GITHUB_OUTPUT release: name: Semantic Release @@ -101,7 +101,7 @@ jobs: if: github.repository == 'relekang/python-semantic-release' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ needs.beautify.outputs.new_sha }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9db18bf55..2de88c38f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -12,15 +12,15 @@ jobs: python-version: [3.6, 3.7, 3.8, 3.9] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - uses: actions/cache@v1 + - uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -39,9 +39,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python 3.8 - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: 3.8 - name: Install mypy & stubs packages @@ -53,7 +53,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: wagoid/commitlint-github-action@v2 + - uses: wagoid/commitlint-github-action@v5 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 615217390..4da7267b9 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 + - uses: actions/stale@v6 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 10 @@ -22,7 +22,7 @@ jobs: then it will be assumed that the question has been resolved and the issue will be automatically closed. stale-issue-label: 'stale' - - uses: actions/stale@v3 + - uses: actions/stale@v6 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 21 @@ -33,7 +33,7 @@ jobs: there has been no activity in the last 3 weeks. It will not be closed. stale-issue-label: 'help-wanted' - - uses: actions/stale@v3 + - uses: actions/stale@v6 with: repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 21