HidemaruOwO / Awesome-HelloWorld

It outputs "Hello World" in various implementations in many languages
Do What The F*ck You Want To Public License
20 stars 13 forks source link

🥇 ElixirのGH Actionsを追加する #4

Closed HidemaruOwO closed 1 year ago

HidemaruOwO commented 1 year ago

Elixirのチェックのworkflowを書く

HidemaruOwO commented 1 year ago

公式ドキュメントのまま書いても失敗するので、一旦諦め

https://github.com/erlef/setup-beam

# create this in .github/workflows/ci.yml
on: push

jobs:
  test:
    runs-on: ubuntu-latest
    name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
    strategy:
      matrix:
        otp: ['20.3', '21.3', '22.2']
        elixir: ['1.8.2', '1.9.4']
    steps:
      - uses: actions/checkout@v3
      - uses: erlef/setup-beam@v1
        with:
          otp-version: ${{matrix.otp}}
          elixir-version: ${{matrix.elixir}}
      - run: mix deps.get
      - run: mix test
HidemaruOwO commented 1 year ago

ご協力ありがとうございました