Skip to content

Commit

Permalink
update checkout from v3 to v4 and setup-python from v4 to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Mar 14, 2024
1 parent 417e232 commit 7a4e2a9
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/actions/test_install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ runs:
using: composite
steps:
- name: "Checkout Repo"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Set up Python ${{ inputs.python_version }}"
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ inputs.python_version }}"

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,26 @@ jobs:
steps:
- name: Check out the repository (PR)
if: github.event_name == 'pull_request_target'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
ref: ${{ github.event.pull_request.head.sha }}

- name: Check out the repository (workflow_dispatch)
if: github.event_name == 'workflow_dispatch'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
ref: ${{ inputs.test_ref }}

- name: Check out the repository (non-PR)
if: github.event_name == 'push'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_draft_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

steps:
- name: "Checkout Repo"
uses: actions/checkout@v3
uses: actions/checkout@v4

# non-zero exit code when the release does not exist and is not currently in draft status
- name: "Check bundle exists in draft state"
Expand All @@ -68,7 +68,7 @@ jobs:

steps:
- name: "Checkout Repo"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Audit Version And Parse Into Parts"
id: semver
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:

steps:
- name: "Checkout Repo"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Set Linux OS"
if: matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_dev_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
steps:
- name: "Checkout Repo"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Swap Dev Bundle"
run: |
./.github/scripts/swap_release_tags.sh "0.0.0+dev" "0.0.1+dev"
10 changes: 5 additions & 5 deletions .github/workflows/release_draft_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

steps:
- name: "Checkout Repo"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Audit Version And Parse Into Parts"
id: semver
Expand Down Expand Up @@ -83,10 +83,10 @@ jobs:
req_file_url: ${{ steps.create-release.outputs.req_file_url }}
steps:
- name: "Checkout Repo"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Set up Python 3.8"
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.8"

Expand Down Expand Up @@ -146,10 +146,10 @@ jobs:

steps:
- name: "Checkout Repo"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python "${{ inputs.python_version }}"
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ inputs.python_version }}"

Expand Down

0 comments on commit 7a4e2a9

Please sign in to comment.