Skip to content

Commit 27c0221

Browse files
Update ci
1 parent 35da4d7 commit 27c0221

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
- "jruby-9.4"
2828
- "truffleruby"
2929
steps:
30-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v4
3131
- name: Run tests with Ruby ${{ matrix.ruby }}
3232
run: docker compose run ci-${{ matrix.ruby }}

ci-run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
set -e
44

55
gem install bundler
6+
ruby -v | grep jruby && apt update && apt install -y gcc
67
bundle check || bundle install
78
bundle exec rake ci

docker-compose.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424

2525
ci-3.0:
2626
image: ruby:3.0
27-
entrypoint: /code/ci-run.sh
27+
command: /code/ci-run.sh
2828
environment:
2929
INTEGRATION: openldap
3030
INTEGRATION_HOST: ldap.example.org
@@ -38,7 +38,7 @@ services:
3838

3939
ci-3.1:
4040
image: ruby:3.1
41-
entrypoint: /code/ci-run.sh
41+
command: /code/ci-run.sh
4242
environment:
4343
INTEGRATION: openldap
4444
INTEGRATION_HOST: ldap.example.org
@@ -52,7 +52,7 @@ services:
5252

5353
ci-3.2:
5454
image: ruby:3.2
55-
entrypoint: /code/ci-run.sh
55+
command: /code/ci-run.sh
5656
environment:
5757
INTEGRATION: openldap
5858
INTEGRATION_HOST: ldap.example.org
@@ -66,7 +66,7 @@ services:
6666

6767
ci-3.3:
6868
image: ruby:3.3
69-
entrypoint: /code/ci-run.sh
69+
command: /code/ci-run.sh
7070
environment:
7171
INTEGRATION: openldap
7272
INTEGRATION_HOST: ldap.example.org
@@ -81,7 +81,7 @@ services:
8181
# https://github.com/flavorjones/truffleruby/pkgs/container/truffleruby
8282
ci-truffleruby:
8383
image: ghcr.io/flavorjones/truffleruby:stable
84-
entrypoint: /code/ci-run.sh
84+
command: /code/ci-run.sh
8585
environment:
8686
INTEGRATION: openldap
8787
INTEGRATION_HOST: ldap.example.org
@@ -95,7 +95,7 @@ services:
9595

9696
ci-jruby-9.3:
9797
image: jruby:9.3
98-
entrypoint: /code/ci-run.sh
98+
command: /code/ci-run.sh
9999
environment:
100100
INTEGRATION: openldap
101101
INTEGRATION_HOST: ldap.example.org
@@ -109,7 +109,7 @@ services:
109109

110110
ci-jruby-9.4:
111111
image: jruby:9.4
112-
entrypoint: /code/ci-run.sh
112+
command: /code/ci-run.sh
113113
environment:
114114
INTEGRATION: openldap
115115
INTEGRATION_HOST: ldap.example.org

0 commit comments

Comments
 (0)