File tree 3 files changed +37
-28
lines changed
mk-workflows/src/templates
3 files changed +37
-28
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,20 @@ jobs:
14
14
15
15
steps :
16
16
- uses : actions/checkout@v2
17
- # Our linux container does have git >= 2.18 installed, so we can't use submodules here.
18
- # with:
19
- # submodules: true
17
+ with :
18
+ submodules : true
20
19
21
- # - name: Get submodules
22
- # run: git submodule update --init --depth 1
20
+ - name : Prepare Rustup
21
+ run : (cd /github/home && ln -s /root/.cargo)
23
22
24
- - name : Install Rust
25
- uses : hecrj/setup-rust-action@master
26
- with :
27
- rust-version : stable
23
+ - name : Update Rustup
24
+ run : rustup self update
25
+
26
+ - name : Update Rust
27
+ run : rustup update
28
+
29
+ - name : Configure Rust Toolchain
30
+ run : rustup default stable
28
31
29
32
- name : Install Clippy
30
33
run : rustup component add clippy
@@ -57,17 +60,20 @@ jobs:
57
60
58
61
steps :
59
62
- uses : actions/checkout@v2
60
- # Our linux container does have git >= 2.18 installed, so we can't use submodules here.
61
- # with:
62
- # submodules: true
63
+ with :
64
+ submodules : true
63
65
64
- # - name: Get submodules
65
- # run: git submodule update --init --depth 1
66
+ - name : Prepare Rustup
67
+ run : (cd /github/home && ln -s /root/.cargo)
66
68
67
- - name : Install Rust
68
- uses : hecrj/setup-rust-action@master
69
- with :
70
- rust-version : beta
69
+ - name : Update Rustup
70
+ run : rustup self update
71
+
72
+ - name : Update Rust
73
+ run : rustup update
74
+
75
+ - name : Configure Rust Toolchain
76
+ run : rustup default beta
71
77
72
78
- name : Install Clippy
73
79
run : rustup component add clippy
Original file line number Diff line number Diff line change 1
- name : ' Rust Skia - Check Formatting'
1
+ name : ' Check Formatting'
2
2
on : [push]
3
3
4
4
jobs :
Original file line number Diff line number Diff line change @@ -3,17 +3,20 @@ container: ghcr.io/pragmatrix/rust-skia-linux:latest
3
3
4
4
steps :
5
5
- uses : actions/checkout@v2
6
- # Our linux container does have git >= 2.18 installed, so we can't use submodules here.
7
- # with:
8
- # submodules: true
6
+ with :
7
+ submodules : true
9
8
10
- # - name: Get submodules
11
- # run: git submodule update --init --depth 1
9
+ - name : Prepare Rustup
10
+ run : (cd /github/home && ln -s /root/.cargo)
12
11
13
- - name : Install Rust
14
- uses : hecrj/setup-rust-action@master
15
- with :
16
- rust-version : $[[rustToolchain]]
12
+ - name : Update Rustup
13
+ run : rustup self update
14
+
15
+ - name : Update Rust
16
+ run : rustup update
17
+
18
+ - name : Configure Rust Toolchain
19
+ run : rustup default $[[rustToolchain]]
17
20
18
21
- name : Install Clippy
19
22
run : rustup component add clippy
You can’t perform that action at this time.
0 commit comments