Skip to content

Commit c3c848a

Browse files
committed
ci(bump): simplify
1 parent e4422dc commit c3c848a

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

.github/workflows/apk-check-versions.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: APK Check Versions
23

34
on:
@@ -13,10 +14,4 @@ jobs:
1314
steps:
1415
- name: Check the versions
1516
shell: bash
16-
run: |
17-
docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/}:main" -c '
18-
apk update
19-
if apk -u list | tee -a /dev/stderr | grep -q -e . ; then
20-
exit 1
21-
fi
22-
'
17+
run: docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/}:main" -c 'apk update && apk -u list | tee -a /dev/stderr | grep -q -e . && exit 1'

.github/workflows/luarocks-check-versions.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Luarocks Check Versions
23

34
on:
@@ -13,9 +14,4 @@ jobs:
1314
steps:
1415
- name: Check the versions
1516
shell: bash
16-
run: |
17-
docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/}:main" -c '
18-
if luarocks list --outdated | tee -a /dev/stderr | grep -q -e " < " ; then
19-
exit 1
20-
fi
21-
'
17+
run: docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/}:main" -c 'luarocks list --outdated | tee -a /dev/stderr | grep -q -e " < " && exit 1'

0 commit comments

Comments
 (0)