Fix github action. Configure SSH #7
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: Build | |
on: | |
push: | |
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: | |
- name: Setup SSH | |
run: ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: make test | |
env: | |
DEBUG: 1 |