Skip to content

Commit f93e7b6

Browse files
authored
Reduce warnings ci (#236)
* Reduce warnings ci * Change setup-python to v5 ci * Remove branch-name Github action
1 parent c37f3b1 commit f93e7b6

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ jobs:
104104
cppyy: On
105105

106106
steps:
107-
- uses: actions/checkout@v3
107+
- uses: actions/checkout@v4
108108
with:
109109
fetch-depth: 0
110110
- name: Set up Python
111-
uses: actions/setup-python@v4
111+
uses: actions/setup-python@v5
112112
with:
113113
python-version: '3.10'
114114

@@ -133,8 +133,6 @@ jobs:
133133
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
134134
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
135135
136-
- uses: nelonoel/[email protected]
137-
138136
- name: Save PR Info on Windows systems
139137
if: ${{ runner.os == 'windows' }}
140138
run: |
@@ -162,8 +160,6 @@ jobs:
162160
163161
echo "CLING_HASH=$env:CLING_HASH" >> $GITHUB_ENV
164162
echo "LLVM_HASH=$env:LLVM_HASH" >> $GITHUB_ENV
165-
166-
- uses: nelonoel/[email protected]
167163
168164
- name: Setup default Build Type on *nux
169165
if: runner.os != 'windows'
@@ -273,7 +269,7 @@ jobs:
273269
brew upgrade
274270
275271
- name: Restore Cache LLVM/Clang runtime build directory
276-
uses: actions/cache/restore@v3
272+
uses: actions/cache/restore@v4
277273
id: cache
278274
with:
279275
path: |
@@ -416,7 +412,7 @@ jobs:
416412
cd ../../
417413
418414
- name: Save Cache LLVM/Clang runtime build directory
419-
uses: actions/cache/save@v3
415+
uses: actions/cache/save@v4
420416
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
421417
with:
422418
path: |
@@ -653,11 +649,11 @@ jobs:
653649
xeus-clang-repl: On
654650

655651
steps:
656-
- uses: actions/checkout@v3
652+
- uses: actions/checkout@v4
657653
with:
658654
fetch-depth: 0
659655
- name: Set up Python
660-
uses: actions/setup-python@v4
656+
uses: actions/setup-python@v5
661657
with:
662658
python-version: '3.10'
663659

@@ -682,8 +678,6 @@ jobs:
682678
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
683679
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
684680
685-
- uses: nelonoel/[email protected]
686-
687681
- name: Save PR Info on Windows systems
688682
if: ${{ runner.os == 'windows' }}
689683
run: |
@@ -711,8 +705,6 @@ jobs:
711705
712706
echo "CLING_HASH=$env:CLING_HASH" >> $GITHUB_ENV
713707
echo "LLVM_HASH=$env:LLVM_HASH" >> $GITHUB_ENV
714-
715-
- uses: nelonoel/[email protected]
716708
717709
- name: Setup default Build Type on *nux
718710
if: runner.os != 'windows'
@@ -829,7 +821,7 @@ jobs:
829821
pip install distro pytest
830822
831823
- name: Restore Cache LLVM/Clang runtime build directory
832-
uses: actions/cache/restore@v3
824+
uses: actions/cache/restore@v4
833825
id: cache
834826
with:
835827
path: |
@@ -1231,11 +1223,11 @@ jobs:
12311223
cling-version: '1.0'
12321224

12331225
steps:
1234-
- uses: actions/checkout@v3
1226+
- uses: actions/checkout@v4
12351227
with:
12361228
fetch-depth: 0
12371229
- name: Set up Python
1238-
uses: actions/setup-python@v4
1230+
uses: actions/setup-python@v5
12391231
with:
12401232
python-version: '3.10'
12411233

@@ -1260,8 +1252,6 @@ jobs:
12601252
echo "CLING_HASH=$CLING_HASH" >> $GITHUB_ENV
12611253
echo "LLVM_HASH=$LLVM_HASH" >> $GITHUB_ENV
12621254
1263-
- uses: nelonoel/[email protected]
1264-
12651255
- name: Setup default Build Type on *nux
12661256
if: runner.os != 'windows'
12671257
run: |
@@ -1295,7 +1285,7 @@ jobs:
12951285
emsdk install 3.1.45
12961286
12971287
- name: Restore Cache LLVM/Clang runtime build directory
1298-
uses: actions/cache/restore@v3
1288+
uses: actions/cache/restore@v4
12991289
id: cache
13001290
with:
13011291
path: |

0 commit comments

Comments
 (0)