Skip to content

Commit

Permalink
CI: Update ci.yml for latest changes in github (#25)
Browse files Browse the repository at this point in the history
Summary:
Our existing ci.yml stopped working. Update it so it does again.

Pull Request resolved: #25

Test Plan:
- CI
- https://github.com/WhatsApp/erlang-language-platform/actions/runs/8850884595

Reviewed By: TheGeorge, michalmuskala

Differential Revision: D56637036

Pulled By: alanz

fbshipit-source-id: a8f36c447c4924baaad86299116b7ea2092d14f0
  • Loading branch information
alanz authored and facebook-github-bot committed Apr 26, 2024
1 parent a0751fb commit 320ff4b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
java-version: '17'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up SBT
uses: olafurpg/setup-scala@v11
with:
java-version: '17'
- name: Set up rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
Expand All @@ -66,7 +70,7 @@ jobs:
run: brew install erlang@${{ matrix.brew-otp-version }}
- name: Add erl to path (MacOS Only)
if: matrix.os == 'macos'
run: "echo '/usr/local/opt/erlang@${{ matrix.brew-otp-version }}/bin' >> $GITHUB_PATH"
run: "echo '/opt/homebrew/opt/erlang@${{ matrix.brew-otp-version }}/bin' >> $GITHUB_PATH"
- name: Verify Erlang version
run: erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell
- name: Install rebar3
Expand Down Expand Up @@ -95,7 +99,7 @@ jobs:
name: elp-${{ matrix.os }}-${{ matrix.target }}-otp-${{ matrix.otp-version }}
path: target/${{ matrix.target}}/release/elp
- name: Test eqwalizer
working-directory: eqwalizer
working-directory: eqwalizer/eqwalizer
run: 'sbt test'
- name: Upload eqwalizer native binary
uses: "actions/upload-artifact@v3"
Expand Down

0 comments on commit 320ff4b

Please sign in to comment.