Skip to content

Bump actions/checkout from 3 to 4 #527

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy-3.9]
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # Checkout pull request HEAD commit instead of merge commit
fetch-depth: 0 # checkout all history, needed for hatch versioning
@@ -87,7 +87,7 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", pypy-3.9]
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # Checkout pull request HEAD commit instead of merge commit
fetch-depth: 0 # checkout all history, needed for hatch versioning
@@ -171,7 +171,7 @@ jobs:
doc-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # Checkout pull request HEAD commit instead of merge commit

@@ -247,7 +247,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
# Checkout code in order to determine PR number
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
with:
fetch-depth: 0

4 changes: 2 additions & 2 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -24,12 +24,12 @@ jobs:
steps:

# Checkout the gh-pages branch, we need to commit the docs to this branch below
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
with:
ref: gh-pages

# Now checkout the git ref on which we're working
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4

- uses: actions/setup-python@v4.7.0
with:
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ jobs:
- name: Install Hatch
run: python -m pip install hatch==1.7.0

- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
with:
ref: ${{ inputs.repo_release_ref }}
fetch-depth: 0 # checkout all history, needed for hatch versioning
2 changes: 1 addition & 1 deletion .github/workflows/test-docker.yml
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

2 changes: 1 addition & 1 deletion .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ jobs:
gitlint --version
[ "$(gitlint --version)" == "gitlint, version ${{ inputs.gitlint_version }}" ]

- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
with:
ref: ${{ inputs.repo_test_ref }}