Skip to content

Commit 442644b

Browse files
committed
Upgrade workflow dependencies
1 parent 6779b49 commit 442644b

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ jobs:
2121
id-token: write
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
2727
submodules: true
2828

2929
- name: Setup Python
30-
uses: actions/setup-python@v4
30+
uses: actions/setup-python@v5
3131
with:
3232
python-version: 3.8
3333

@@ -50,13 +50,13 @@ jobs:
5050
contents: write
5151

5252
steps:
53-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v4
5454
with:
5555
fetch-depth: 0
5656
submodules: true
5757

5858
- name: Setup Python
59-
uses: actions/setup-python@v4
59+
uses: actions/setup-python@v5
6060
with:
6161
python-version: 3.8
6262

@@ -65,7 +65,7 @@ jobs:
6565

6666
- name: Get version from tag
6767
id: get-version
68-
uses: battila7/get-version-action@v2
68+
run: echo "version-without-v=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
6969

7070
- name: Deploy documentation
7171
run: |
@@ -88,7 +88,8 @@ jobs:
8888

8989
- name: Get version from tag
9090
id: get-version
91-
uses: battila7/get-version-action@v2
91+
run: echo "version-without-v=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
92+
shell: bash
9293

9394
- name: Get changelog release info
9495
id: changelog
@@ -100,5 +101,5 @@ jobs:
100101
- name: Create Release
101102
uses: softprops/action-gh-release@v1
102103
with:
103-
name: EOLib ${{ steps.get-version.outputs.version }}
104+
name: EOLib v${{ steps.get-version.outputs.version-without-v }}
104105
body: ${{ steps.changelog.outputs.release-notes }}

.github/workflows/sonar.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
name: SonarCloud
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222
submodules: true
2323

2424
- name: Setup Python
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: 3.8
2828

@@ -33,7 +33,6 @@ jobs:
3333
run: hatch run test
3434

3535
- name: SonarCloud Scan
36-
uses: SonarSource/sonarcloud-github-action@master
36+
uses: sonarsource/sonarqube-scan-action@v5
3737
env:
38-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3938
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
2626

2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
with:
3030
submodules: true
3131

3232
- name: Setup Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@v4
33+
uses: actions/setup-python@v5
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636

0 commit comments

Comments
 (0)