Skip to content

Commit 3ca0181

Browse files
committed
ci(bump): separate versions check from regular build
1 parent b2ab577 commit 3ca0181

File tree

3 files changed

+44
-7
lines changed

3 files changed

+44
-7
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: APK Check Versions
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 0"
6+
workflow_dispatch:
7+
8+
permissions: {}
9+
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check the versions
15+
shell: bash
16+
run: |
17+
docker run --pull always -t --user root "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" sh -c '
18+
apk update
19+
if apk -u list | tee -a /dev/stderr | grep -q -e . ; then
20+
exit 1
21+
fi
22+
'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Pipx Check Versions
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * 0"
6+
workflow_dispatch:
7+
8+
permissions: {}
9+
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Check the versions
15+
shell: bash
16+
run: |
17+
docker run --pull always -t --user root "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" sh -c '
18+
if pipx upgrade-all --global | tee -a /dev/stderr | grep -q -e . ; then
19+
exit 1
20+
fi
21+
'

json/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,13 @@ RUN apk -U upgrade \
2424
pipx=1.7.1-r0 \
2525
py3-pip=25.1.1-r0 \
2626
python3=3.12.11-r0 \
27-
&& if apk -u list | tee -a /dev/stderr | grep -q -e . ; then \
28-
exit 1 ; \
29-
fi \
3027
&& apk cache clean \
3128
&& rm -rf /var/cache/apk/*
3229

3330
RUN pipx ensurepath --global \
3431
&& pipx install --global \
3532
csvkit==2.1.0 \
36-
json2yaml==1.2.0 \
37-
&& if pipx upgrade-all --global | tee -a /dev/stderr | grep -q -e . ; then \
38-
exit 1 ; \
39-
fi
33+
json2yaml==1.2.0
4034

4135
RUN npm install -g \
4236

0 commit comments

Comments
 (0)