Skip to content

Commit

Permalink
Merge pull request #38 from take-kun/ci/update-actions
Browse files Browse the repository at this point in the history
Update Github Actions
  • Loading branch information
take-kun authored Nov 10, 2024
2 parents 95cd4eb + 898d7b3 commit edd78f8
Show file tree
Hide file tree
Showing 6 changed files with 606 additions and 528 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.13
cache: "poetry"

- name: Update pip
Expand All @@ -37,20 +37,20 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: poetry
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

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

- name: Build distributions
uses: ./.github/workflows/build
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

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

- name: Build distributions
uses: ./.github/workflows/build
Expand All @@ -26,5 +26,6 @@ jobs:

- name: Tag a commit
run: |
git tag ${{ inputs.version }}
git push origin ${{ inputs.version }}
echo "TAG=v${{ inputs.version }}" >> $GITHUB_ENV
git tag $TAG
git push origin $TAG
Loading

0 comments on commit edd78f8

Please sign in to comment.