Skip to content

Commit 999cd4b

Browse files
ci: change the order of verifications
1 parent e1b5c22 commit 999cd4b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ jobs:
8787
run: |
8888
docker images opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" --format "table {{.Repository}}:{{.Tag}}\t{{.Size}}"
8989
90+
- name: Check the version of installed software
91+
run: |
92+
docker run --rm opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" sh -c "cobj --version | grep 'opensource COBOL 4J $opensource_COBOL_4J_version'"
93+
docker run --rm opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" sh -c "cobj --version | grep 'unicode/utf-8 support'"
94+
9095
- name: Run simple tests inside the container
9196
run: |
9297
docker run -itd --name test_container opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix"
9398
docker exec test_container sh -c "cd /root/cobol_sample && cobj HELLO.cbl && java HELLO"
9499
docker rm -f test_container
95100
96-
- name: Check the version of installed software
97-
run: |
98-
docker run --rm opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" sh -c "cobj --version | grep 'opensource COBOL 4J $opensource_COBOL_4J_version'"
99-
docker run --rm opensourcecobol/opensourcecobol4j:utf8-"$version_string_prefix" sh -c "cobj --version | grep 'unicode/utf-8 support'"
100-
101101
- name: Login to Docker Hub
102102
if: github.ref == 'refs/heads/main' && github.event_name == 'workflow_dispatch' && inputs.push_to_dockerhub == true
103103
uses: docker/login-action@v3

0 commit comments

Comments
 (0)