Skip to content

Commit

Permalink
refactor: Upgrade actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Feb 10, 2024
1 parent af6f5ac commit 29b7545
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -37,12 +37,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up PDM
uses: pdm-project/setup-pdm@v3
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -8,7 +8,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Fetch all tags
run: git fetch --depth=1 --tags
- name: Setup Python
Expand Down
8 changes: 4 additions & 4 deletions project/.github/workflows/ci.yml.jinja
Expand Up @@ -23,13 +23,13 @@ jobs:

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

- name: Fetch all tags
run: git fetch --depth=1 --tags

- name: Set up PDM
uses: pdm-project/setup-pdm@v3
uses: pdm-project/setup-pdm@v4
with:
python-version: "3.8"

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

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

- name: Set up PDM
uses: pdm-project/setup-pdm@v3
uses: pdm-project/setup-pdm@v4
with:
python-version: {% raw %}${{ matrix.python-version }}{% endraw %}
allow-python-prereleases: true
Expand Down
4 changes: 2 additions & 2 deletions project/.github/workflows/release.yml.jinja
Expand Up @@ -10,7 +10,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Fetch all tags
run: git fetch --depth=1 --tags
- name: Setup Python
Expand All @@ -23,7 +23,7 @@ jobs:
if: github.repository_owner == '{{ author_username }}-insiders'
run: python -m build
- name: Upload dists artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: github.repository_owner == '{{ author_username }}-insiders'
with:
name: {{ repository_name }}-insiders
Expand Down

0 comments on commit 29b7545

Please sign in to comment.