7
7
name : Check
8
8
runs-on : ubuntu-latest
9
9
steps :
10
+ - name : Change apt mirror
11
+ run : |
12
+ sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
13
+ sudo apt-get update
10
14
- name : build dependencies
11
15
run : |
12
16
sudo apt-get install musl-tools libudev-dev
25
29
name : Doc Test
26
30
runs-on : ubuntu-latest
27
31
steps :
32
+ - name : Change apt mirror
33
+ run : |
34
+ sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
35
+ sudo apt-get update
28
36
- name : build dependencies
29
37
run : |
30
38
sudo apt-get install musl-tools libudev-dev
44
52
name : Unit Test
45
53
runs-on : ubuntu-latest
46
54
steps :
55
+ - name : Change apt mirror
56
+ run : |
57
+ sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
58
+ sudo apt-get update
47
59
- name : build dependencies
48
60
run : |
49
61
sudo apt-get install musl-tools libudev-dev
63
75
name : Rustfmt
64
76
runs-on : ubuntu-latest
65
77
steps :
78
+ - name : Change apt mirror
79
+ run : |
80
+ sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
81
+ sudo apt-get update
66
82
- uses : actions/checkout@v2
67
83
- uses : actions-rs/toolchain@v1
68
84
with :
80
96
name : Clippy
81
97
runs-on : ubuntu-latest
82
98
steps :
99
+ - name : Change apt mirror
100
+ run : |
101
+ sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
102
+ sudo apt-get update
83
103
- name : build dependencies
84
104
run : |
85
105
sudo apt-get install musl-tools libudev-dev
@@ -148,10 +168,15 @@ jobs:
148
168
with :
149
169
name : cargo-espflash.exe
150
170
path : target/x86_64-pc-windows-gnu/release/cargo-espflash.exe
171
+
151
172
msrv :
152
173
name : Check MSRV
153
174
runs-on : ubuntu-latest
154
175
steps :
176
+ - name : Change apt mirror
177
+ run : |
178
+ sudo sed -i 's/azure.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list
179
+ sudo apt-get update
155
180
- name : build dependencies
156
181
run : |
157
182
sudo apt-get install musl-tools libudev-dev
@@ -164,4 +189,4 @@ jobs:
164
189
- uses : Swatinem/rust-cache@v1
165
190
- uses : actions-rs/cargo@v1
166
191
with :
167
- command : check
192
+ command : check
0 commit comments