Skip to content

Bump actions/checkout from 5.0.0 to 6.0.0 #250

Bump actions/checkout from 5.0.0 to 6.0.0

Bump actions/checkout from 5.0.0 to 6.0.0 #250

Workflow file for this run

name: Test to build Docker image
on:
push:
pull_request:
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
build:
name: ${{ matrix.ruby_version }}-${{ matrix.ubuntu_version }} ${{ matrix.arch }}
runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
strategy:
matrix:
ubuntu_version:
- noble
- jammy
ruby_version:
- 3.2.8
- 3.3.7
- 3.4.2
- 4.0.0-preview2
- master
arch:
- amd64
- arm64
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Build image
run: |
rake docker:build arch=${{ matrix.arch }} ruby_version=${{ matrix.ruby_version }} ubuntu_version=${{ matrix.ubuntu_version }}
- name: Check image
run: |
docker images
docker run rubylang/ruby:${{ matrix.ruby_version }}-${{ matrix.ubuntu_version }} ruby -v