Skip to content

Commit

Permalink
ci: Update GitHub Actions
Browse files Browse the repository at this point in the history
* Update actions/checkout to v4.
* Update actions/setup-python to v5.
* Use python '3.x' for non tests.
  • Loading branch information
matthewfeickert committed May 13, 2024
1 parent de71311 commit 53edd5b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Set up GitHub Actions"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.x"
- name: "Install Python dependencies"
run: |
python -m pip install --upgrade uv
Expand All @@ -52,9 +52,9 @@ jobs:
python-version: ["3.8", "3.9", "3.10"]
steps:
- name: "Set up GitHub Actions"
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 }}
- name: "Install Python dependencies"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Set up GitHub Actions"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.x"
- name: "Install Python dependencies"
run: |
python -m pip install --upgrade uv
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Set up GitHub Actions"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Set up Python"
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.x"
- name: "Build Python package"
run: |
pipx run build --installer uv
Expand Down

0 comments on commit 53edd5b

Please sign in to comment.