Bump actions/checkout from 4.0.0 to 4.1.0 #97
Workflow file for this run
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: Smoke Test | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-20.04 | |
container: | |
image: hexpm/elixir:1.15.2-erlang-26.0.2-debian-bookworm-20230612 | |
steps: | |
- name: Install git | |
run: | | |
apt-get update | |
apt-get install -y git | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
with: | |
submodules: recursive | |
- name: Update submodules | |
run: | | |
git config --global --add safe.directory /__w/elixir-test-runner/elixir-test-runner | |
git submodule update --init --recursive --remote | |
- name: Install / Build Dependencies | |
run: | | |
apt -y install jq | |
cd exercism_test_helper | |
mix local.rebar --force | |
mix local.hex --force | |
mix deps.get | |
- name: Run ExercismTestHelper unit tests | |
run: | | |
cd exercism_test_helper | |
mix test | |
- name: Build Escript | |
run: | | |
cd exercism_test_helper | |
MIX_ENV=prod mix escript.build | |
mv exercism_test_helper ../bin | |
- name: Run tests on all exercises exemploid solutions | |
run: | | |
./bin/test_all_exercises.sh | |
smoke_test_in_docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
- name: Run Smoke Test in Docker | |
run: bin/run-tests-in-docker.sh |