Skip to content

Convert backtick (`) admonition fences to tildes (~). #298

Convert backtick (`) admonition fences to tildes (~).

Convert backtick (`) admonition fences to tildes (~). #298

Workflow file for this run

name: Exercism Erlang Track verification
on: [push, pull_request]
jobs:
create_otp_matrix:
name: Generate a list of last OTP versions
runs-on: ubuntu-latest
outputs:
otps: ${{ steps.versions.outputs.versions }}
steps:
- name: Clone the repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
- name: Get latest OTP versions
id: versions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
all_versions=$(gh api graphql -f query='query { repository(owner: "erlang", name: "otp") { releases(last: 100, orderBy: {field: CREATED_AT, direction: ASC}) { nodes { tagName } } } }' --jq '.data.repository.releases.nodes[].tagName | select(. | contains("rc") | not) | .[4:8]' | sort -u -n)
latest_versions=$(./bin/get_latest_majors_for_ci_matrix.py <<< "$all_versions")
printf "::set-output name=versions::%s" "$latest_versions"
test_erlang:
name: Test examples against OTP ${{ matrix.otp }}
runs-on: ubuntu-latest
needs: [create_otp_matrix]
strategy:
matrix:
otp: ${{fromJson(needs.create_otp_matrix.outputs.otps)}}
container:
image: erlang:${{ matrix.otp }}
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
- name: Install dependencies
run: apt update && apt install --yes jq
- name: run tests
run: ./bin/run_ci.sh