Skip to content

Bump actions/checkout from 3 to 4 #7

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #7

Workflow file for this run

name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
test-elixir:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
strategy:
fail-fast: false
max-parallel: 1
matrix:
include:
- elixir: 1.11.4
otp: 23.3.4
run_installer_tests: 0
- elixir: 1.13.3
otp: 24.3.4
run_installer_tests: 1
steps:
- uses: actions/checkout@v4
- name: Download released earth
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.5.16/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Execute tests
run: earthly --build-arg ELIXIR=${{ matrix.elixir }} --build-arg OTP=${{ matrix.otp }} --build-arg RUN_INSTALLER_TESTS=${{ matrix.run_installer_tests }} +test
integration-test-elixir:
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
strategy:
fail-fast: false
matrix:
include:
- elixir: 1.13.3
otp: 23.3.4
- elixir: 1.13.3
otp: 24.3.4
steps:
- uses: actions/checkout@v4
- name: Download released earth
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.5.16/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Execute tests
run: earthly -P --build-arg ELIXIR=${{ matrix.elixir }} --build-arg OTP=${{ matrix.otp }} +integration-test
npm_test:
name: npm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download released earth
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.5.16/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Execute tests
run: earthly --build-arg ELIXIR=1.13.3 --build-arg OTP=24.3.4 +npm