Skip to content

Commit 320ff4b

Browse files
alanzfacebook-github-bot
authored andcommitted
CI: Update ci.yml for latest changes in github (#25)
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
1 parent a0751fb commit 320ff4b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
java-version: '17'
5151
distribution: 'graalvm'
5252
github-token: ${{ secrets.GITHUB_TOKEN }}
53+
- name: Set up SBT
54+
uses: olafurpg/setup-scala@v11
55+
with:
56+
java-version: '17'
5357
- name: Set up rust toolchain
5458
uses: dtolnay/rust-toolchain@stable
5559
with:
@@ -66,7 +70,7 @@ jobs:
6670
run: brew install erlang@${{ matrix.brew-otp-version }}
6771
- name: Add erl to path (MacOS Only)
6872
if: matrix.os == 'macos'
69-
run: "echo '/usr/local/opt/erlang@${{ matrix.brew-otp-version }}/bin' >> $GITHUB_PATH"
73+
run: "echo '/opt/homebrew/opt/erlang@${{ matrix.brew-otp-version }}/bin' >> $GITHUB_PATH"
7074
- name: Verify Erlang version
7175
run: erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell
7276
- name: Install rebar3
@@ -95,7 +99,7 @@ jobs:
9599
name: elp-${{ matrix.os }}-${{ matrix.target }}-otp-${{ matrix.otp-version }}
96100
path: target/${{ matrix.target}}/release/elp
97101
- name: Test eqwalizer
98-
working-directory: eqwalizer
102+
working-directory: eqwalizer/eqwalizer
99103
run: 'sbt test'
100104
- name: Upload eqwalizer native binary
101105
uses: "actions/upload-artifact@v3"

0 commit comments

Comments
 (0)