Skip to content

Commit 2fc9fe0

Browse files
committed
Updated CI.
1 parent 94c096e commit 2fc9fe0

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
os: [ubuntu-22.04, ubuntu-24.04]
2020
fail-fast: false
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v6
2323
- name: Before script
2424
run: |
2525
sed -i '/^GPU=/,/^fi/ s/^/# /' cudalucas.sh
@@ -57,7 +57,7 @@ jobs:
5757
env:
5858
CXX: ${{ matrix.cxx }}
5959
steps:
60-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@v6
6161
- name: Install
6262
run: |
6363
sudo apt-get update -y
@@ -93,7 +93,7 @@ jobs:
9393
env:
9494
CC: ${{ matrix.cc }}
9595
steps:
96-
- uses: actions/checkout@v4
96+
- uses: actions/checkout@v6
9797
- name: Before script
9898
run: |
9999
sed -i '/^[[:blank:]]*nohup / s/^/# /' mlucas.sh
@@ -121,21 +121,21 @@ jobs:
121121

122122
runs-on: ubuntu-latest
123123
steps:
124-
- uses: actions/checkout@v4
124+
- uses: actions/checkout@v6
125125
- name: Install dependencies
126126
run: |
127127
python3 -m pip install --upgrade pip
128128
python3 -m pip install pylint
129129
- name: Script
130-
run: pylint -f github --py-version 2.6 -d design,C0103,W0311,C0301,C0302,C0209,R1702 --load-plugins pylint.extensions.code_style,pylint.extensions.comparison_placement,pylint.extensions.for_any_all,pylint.extensions.consider_refactoring_into_while_condition,pylint.extensions.consider_ternary_expression,pylint.extensions.dict_init_mutate,pylint.extensions.docstyle,pylint.extensions.check_elif,pylint.extensions.set_membership,pylint.extensions.typing -e R6104,C1804,C1805 -r y *.py python/*.py
130+
run: pylint -f github --py-version 3.5 -d design,C0103,W0311,C0301,C0302,C0209,R1702 --load-plugins pylint.extensions.code_style,pylint.extensions.comparison_placement,pylint.extensions.for_any_all,pylint.extensions.consider_refactoring_into_while_condition,pylint.extensions.consider_ternary_expression,pylint.extensions.dict_init_mutate,pylint.extensions.docstyle,pylint.extensions.check_elif,pylint.extensions.set_membership,pylint.extensions.typing -e R6104,C1804,C1805 -r y *.py python/*.py
131131
continue-on-error: true
132132

133133
Ruff:
134134
name: Ruff
135135

136136
runs-on: ubuntu-latest
137137
steps:
138-
- uses: actions/checkout@v4
138+
- uses: actions/checkout@v6
139139
- name: Install dependencies
140140
run: |
141141
python3 -m pip install --upgrade pip

gpuowl.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ else
126126
wget https://github.com/preda/gpuowl/archive/$BRANCH3.tar.gz
127127
echo -e "\nDecompressing the files\n"
128128
tar -xzvf $BRANCH3.tar.gz
129-
if output=$(curl -s "https://api.github.com/repos/preda/gpuowl/compare/v6.11...$BRANCH3"); then
129+
if output=$(curl -sf "https://api.github.com/repos/preda/gpuowl/compare/v6.11...$BRANCH3"); then
130130
if command -v jq >/dev/null; then
131131
behind_by=$(echo "$output" | jq '.behind_by')
132132
sha=$(echo "$output" | jq -r '.base_commit.sha')
@@ -146,13 +146,13 @@ else
146146
wget https://github.com/preda/gpuowl/archive/$BRANCH1.tar.gz
147147
echo -e "\nDecompressing the files\n"
148148
tar -xzvf $BRANCH1.tar.gz
149-
if output=$(curl -s 'https://api.github.com/repos/preda/gpuowl/tags?per_page=1'); then
149+
if output=$(curl -sf 'https://api.github.com/repos/preda/gpuowl/tags?per_page=1'); then
150150
if command -v jq >/dev/null; then
151151
name=$(echo "$output" | jq -r '.[0].name')
152152
else
153153
name=$(echo "$output" | python3 -c 'import sys, json; print(json.load(sys.stdin)[0]["name"])')
154154
fi
155-
if output=$(curl -s "https://api.github.com/repos/preda/gpuowl/compare/$BRANCH1...$name"); then
155+
if output=$(curl -sf "https://api.github.com/repos/preda/gpuowl/compare/$BRANCH1...$name"); then
156156
if command -v jq >/dev/null; then
157157
behind_by=$(echo "$output" | jq '.behind_by')
158158
sha=$(echo "$output" | jq -r '.base_commit.sha')

gpuowl2.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ else
131131
wget https://github.com/preda/gpuowl/archive/$BRANCH3.tar.gz
132132
echo -e "\nDecompressing the files\n"
133133
tar -xzvf $BRANCH3.tar.gz
134-
if output=$(curl -s "https://api.github.com/repos/preda/gpuowl/compare/v6.11...$BRANCH3"); then
134+
if output=$(curl -sf "https://api.github.com/repos/preda/gpuowl/compare/v6.11...$BRANCH3"); then
135135
if command -v jq >/dev/null; then
136136
behind_by=$(echo "$output" | jq '.behind_by')
137137
sha=$(echo "$output" | jq -r '.base_commit.sha')
@@ -151,13 +151,13 @@ else
151151
wget https://github.com/preda/gpuowl/archive/$BRANCH1.tar.gz
152152
echo -e "\nDecompressing the files\n"
153153
tar -xzvf $BRANCH1.tar.gz
154-
if output=$(curl -s 'https://api.github.com/repos/preda/gpuowl/tags?per_page=1'); then
154+
if output=$(curl -sf 'https://api.github.com/repos/preda/gpuowl/tags?per_page=1'); then
155155
if command -v jq >/dev/null; then
156156
name=$(echo "$output" | jq -r '.[0].name')
157157
else
158158
name=$(echo "$output" | python3 -c 'import sys, json; print(json.load(sys.stdin)[0]["name"])')
159159
fi
160-
if output=$(curl -s "https://api.github.com/repos/preda/gpuowl/compare/$BRANCH1...$name"); then
160+
if output=$(curl -sf "https://api.github.com/repos/preda/gpuowl/compare/$BRANCH1...$name"); then
161161
if command -v jq >/dev/null; then
162162
behind_by=$(echo "$output" | jq '.behind_by')
163163
sha=$(echo "$output" | jq -r '.base_commit.sha')

0 commit comments

Comments
 (0)