Skip to content

Bump docker/build-push-action from 5.0.0 to 5.1.0 #207

Bump docker/build-push-action from 5.0.0 to 5.1.0

Bump docker/build-push-action from 5.0.0 to 5.1.0 #207

Workflow file for this run

name: Smoke Test
on: [push, pull_request, workflow_dispatch]
jobs:
build_and_test:
runs-on: ubuntu-22.04
container:
image: hexpm/elixir:1.15.2-erlang-26.0.2-debian-bookworm-20230612
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Install / Build Dependencies
run: |
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Run Tests
run: |
mix test
build_and_test_on_docker:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
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/elixir-representer
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Run Tests in Docker
run: bin/run-tests-in-docker.sh