Skip to content

Use HTTPS instead of SSH to get test dependencies #34

Use HTTPS instead of SSH to get test dependencies

Use HTTPS instead of SSH to get test dependencies #34

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
pull_request_target:
types:
- opened
- synchronize
- reopened
jobs:
build:
strategy:
fail-fast: false
matrix:
erlang:
- 24.2
# - 25
# - 26
# - 27
runs-on: ubuntu-latest
container:
image: erlang:${{ matrix.erlang }}
steps:
- uses: actions/checkout@v3
- name: Run tests
run: |
set -ex
mkdir -p -m 700 /root/.ssh
echo "Host *" > /root/.ssh/config
echo " IdentityFile /root/.ssh/id_rsa" >> /root/.ssh/config
chmod 600 /root/.ssh/config
ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa
eval `ssh-agent -s`
ssh-add /root/.ssh/id_rsa
ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts
chmod 600 /root/.ssh/known_hosts
ssh -vT git@github.com
export DEBUG=1
make test