diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index aa355dc7..7d22bf7a 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -22,7 +22,7 @@ jobs: PYTHONUNBUFFERED: 1 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: @@ -75,7 +75,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false # https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path diff --git a/.github/workflows/release-notes.yaml b/.github/workflows/release-notes.yaml index 08222eb0..c02ecb25 100644 --- a/.github/workflows/release-notes.yaml +++ b/.github/workflows/release-notes.yaml @@ -14,7 +14,7 @@ jobs: preview: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: | git fetch --prune --unshallow --tags - uses: snyk/release-notes-preview@v1.6.2 diff --git a/src/nitpick/resources/python/github-workflow.toml b/src/nitpick/resources/python/github-workflow.toml index 1dacaa3f..099385c4 100644 --- a/src/nitpick/resources/python/github-workflow.toml +++ b/src/nitpick/resources/python/github-workflow.toml @@ -22,7 +22,7 @@ PYTHONUNBUFFERED = 1 [[".github/workflows/python.yaml".jobs.build.steps]] name = "Checkout" -uses = "actions/checkout@v2" +uses = "actions/checkout@v3" [[".github/workflows/python.yaml".jobs.build.steps]] name = "Set up Python ${{ matrix.python-version }}" diff --git a/tests/test_builtin/python/github-workflow/.github/workflows/python.yaml b/tests/test_builtin/python/github-workflow/.github/workflows/python.yaml index 929bd57e..47f7b81f 100644 --- a/tests/test_builtin/python/github-workflow/.github/workflows/python.yaml +++ b/tests/test_builtin/python/github-workflow/.github/workflows/python.yaml @@ -22,7 +22,7 @@ jobs: PYTHONUNBUFFERED: 1 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: