Skip to content

Commit 1745774

Browse files
authored
Merge pull request #41 from mu373/ci-updates
Update outdated GitHub Actions
2 parents 4eb68b3 + 63c6923 commit 1745774

2 files changed

Lines changed: 27 additions & 27 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: 'Enter the version name to release (e.g., 1.0.0).'
7+
description: "Enter the version name to release (e.g., 1.0.0)."
88
required: true
9-
default: '1.0.0'
9+
default: "1.0.0"
1010

1111
jobs:
1212
release:
@@ -20,12 +20,12 @@ jobs:
2020
contents: write
2121

2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v6
2424
with:
2525
fetch-depth: 0
2626

2727
- name: Install uv
28-
uses: astral-sh/setup-uv@v5
28+
uses: astral-sh/setup-uv@v7
2929

3030
- name: Update version
3131
run: |
@@ -63,12 +63,10 @@ jobs:
6363
6464
- name: Create GitHub Release
6565
id: create_release
66-
uses: actions/create-release@v1
67-
env:
68-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
uses: softprops/action-gh-release@v2
6967
with:
7068
tag_name: "v${{ github.event.inputs.version }}"
71-
release_name: "v${{ github.event.inputs.version }}"
69+
name: "v${{ github.event.inputs.version }}"
7270
body: |
7371
Automated release of version v${{ github.event.inputs.version }}.
7472

.github/workflows/test.yml

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ name: Test tailestim
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
paths-ignore:
7-
- 'docs/**'
8-
- '.github/workflows/release.yml'
9-
- '.gitignore'
10-
- '.readthedocs.yaml'
11-
- 'DEVELOP.md'
12-
- 'LICENSE.txt'
13-
- 'README.md'
7+
- "docs/**"
8+
- ".github/workflows/release.yml"
9+
- ".gitignore"
10+
- ".readthedocs.yaml"
11+
- "DEVELOP.md"
12+
- "LICENSE.txt"
13+
- "README.md"
1414
pull_request:
15-
branches: [ main ]
15+
branches: [main]
1616
paths-ignore:
17-
- 'docs/**'
18-
- '.github/workflows/release.yml'
19-
- '.gitignore'
20-
- '.readthedocs.yaml'
21-
- 'DEVELOP.md'
22-
- 'LICENSE.txt'
23-
- 'README.md'
17+
- "docs/**"
18+
- ".github/workflows/release.yml"
19+
- ".gitignore"
20+
- ".readthedocs.yaml"
21+
- "DEVELOP.md"
22+
- "LICENSE.txt"
23+
- "README.md"
2424
workflow_dispatch:
2525

2626
jobs:
@@ -34,19 +34,21 @@ jobs:
3434

3535
steps:
3636
- name: Checkout repository
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v6
3838
with:
3939
fetch-depth: 0
4040

4141
- name: Checkout tailestimation as subdirectory
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v6
4343
with:
4444
repository: ${{ secrets.TAILESTIMATION_REPO }}
4545
token: ${{ secrets.TAILESTIMATION_PAT }}
4646
path: tail-estimation
4747

4848
- name: Install uv
49-
uses: astral-sh/setup-uv@v5
49+
uses: astral-sh/setup-uv@v7
50+
with:
51+
cache-suffix: py${{ matrix.python-version }}
5052

5153
- name: Set up Python ${{ matrix.python-version }}
5254
run: uv python install ${{ matrix.python-version }}

0 commit comments

Comments
 (0)