Skip to content

Commit 7cd0e02

Browse files
authored
Merge pull request #89 from cloudblue/LITE-33583_fix_github_actions_node20
ci: fix Node 20 deprecation warning in GitHub Actions
2 parents e167136 + 22fba35 commit 7cd0e02

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
python-version: ['3.10', '3.11', '3.12']
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v7
2121
with:
2222
fetch-depth: 0
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v4
24+
uses: actions/setup-python@v6
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Install dependencies
@@ -41,11 +41,11 @@ jobs:
4141
runs-on: ubuntu-latest
4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v7
4545
with:
4646
fetch-depth: 0
4747
- name: Set up Python '3.10.0'
48-
uses: actions/setup-python@v4
48+
uses: actions/setup-python@v6
4949
with:
5050
python-version: '3.10'
5151
- name: Install dependencies
@@ -60,10 +60,11 @@ jobs:
6060
run: |
6161
sed -i 's/\/home\/runner\/work\/connect-python-openapi-client\/connect-python-openapi-client\//\/github\/workspace\//g' coverage.xml
6262
- name: SonarCloud
63-
uses: SonarSource/sonarcloud-github-action@master
63+
uses: SonarSource/sonarqube-scan-action@v8
6464
env:
6565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6666
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
67+
SONAR_HOST_URL: https://sonarcloud.io
6768
- name: Wait sonar to process report
6869
uses: jakejarvis/wait-action@master
6970
with:

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v7
1212
- name: Set up Python
13-
uses: actions/setup-python@v4
13+
uses: actions/setup-python@v6
1414
with:
1515
python-version: '3.10'
1616
- name: Install dependencies
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
poetry run pytest
2727
- name: Extract tag name
28-
uses: actions/github-script@v6
28+
uses: actions/github-script@v9
2929
id: tag
3030
with:
3131
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)