Skip to content

Commit f633ac5

Browse files
committed
edit workflow to not use actions
Signed-off-by: Curtis Harding <[email protected]> Signed-off-by: Curtis Harding <[email protected]> Signed-off-by: Curtis Harding <[email protected]> Signed-off-by: Curtis Harding <[email protected]>
1 parent 63b92dd commit f633ac5

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/pull-request.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,20 +63,17 @@ jobs:
6363
with:
6464
xcode-version: '15.0.1'
6565

66-
- name: "Install rust toolchain"
67-
uses: actions-rs/toolchain@v1
68-
with:
69-
profile: minimal
70-
toolchain: stable
71-
override: true
66+
- name: "Install rust toolchain (Linux)"
67+
if: matrix.os-type == 'linux'
68+
run: apt install rustc -y
69+
70+
- name: "Install rust toolchain (Macos)"
71+
if: matrix.os-type == 'macos'
72+
run: brew install rustup
7273

7374
- name: "Install wasm-pack"
74-
uses: actions-rs/cargo@v1
75-
with:
76-
command: install
77-
args: wasm-pack
75+
run: cargo install wasm-pack
7876

79-
8077
- name: "Test Kotlin code is properly formatted"
8178
run: ./gradlew ktlintCheck
8279

0 commit comments

Comments
 (0)