ueberauth / ueberauth_google

Google OAuth2 Strategy for Überauth.
MIT License
166 stars 85 forks source link

Fix "Requested Erlang/OTP version (22.3) not found in version list " on CI #100

Closed angelikatyborska closed 1 year ago

angelikatyborska commented 1 year ago

I opened another PR and its CI is failing with this error:

Run erlef/setup-elixir@v1
  with:
    elixir-version: 1.11
    otp-version: 22.3
    github-token: ***
    install-hex: true
    install-rebar: true
    version-type: loose
    disable_problem_matchers: false
    hexpm-mirrors: https://builds.hex.pm/

Error: Requested Erlang/OTP version (22.3) not found in version list (should you be using option 'version-type': 'strict'?)

I have seen this error before. It happened in my project unexpectedly. It happened when the tag ubuntu-latest upgraded from 20.04 to 22.04, which no longer supports some older Erlang versions according to this table: https://github.com/erlef/setup-beam#compatibility-between-operating-system-and-erlangotp

angelikatyborska commented 1 year ago

Tested locally with https://github.com/nektos/act, at least the Test job now works for me.