fix deploy #54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@f03ac48505955848960e80bbb68046aa35c7b9e7 | |
with: | |
install: true | |
- name: Read Pharo-sync-commit file and set to env variable | |
run: bin/export-sync-commit.sh | |
- name: Build Docker image and store in cache | |
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 | |
with: | |
context: . | |
push: false | |
load: true | |
tags: exercism/pharo-smalltalk-test-runner | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
build-args: SHA_OR_BRANCH=${{ env.SHA_OR_BRANCH }} | |
- name: Run Tests in Docker | |
run: bin/run-tests-in-docker.sh |