Skip to content

Bump docker/setup-buildx-action from 3.1.0 to 3.2.0 #298

Bump docker/setup-buildx-action from 3.1.0 to 3.2.0

Bump docker/setup-buildx-action from 3.1.0 to 3.2.0 #298

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
unit_tests:
name: Unit tests
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Setup Ruby
uses: ruby/setup-ruby@d4526a55538b775af234ba4af27118ed6f8f6677
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Install gems
run: bundle install
- name: Run tests
run: bundle exec rake test
smoke_tests:
name: Smoke tests
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20
with:
install: true
- name: Build Docker image and store in cache
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56
with:
context: .
push: false
load: true
tags: exercism/ruby-test-runner
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run Tests in Docker
run: bin/run-tests-in-docker.sh