File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 71
71
run : bash scripts/linux_ffmpeg.rs
72
72
73
73
- name : export ffmpeg env
74
- - run : |
74
+ run : |
75
75
export FFMPEG_PKG_CONFIG_PATH=${PWD}/tmp/ffmpeg_build/lib/pkgconfig
76
76
export FFMPEG_INCLUDE_DIR=${PWD}/tmp/ffmpeg_build/include
77
77
@@ -147,16 +147,16 @@ jobs:
147
147
148
148
lints :
149
149
name : Rustfmt
150
- runs-on : ubuntu-latest
150
+ runs-on : ${{ matrix.os }}
151
+ strategy :
152
+ matrix :
153
+ os : [macos-latest, windows-latest, ubuntu-latest]
154
+ fail-fast : false
155
+
151
156
steps :
152
- - uses : actions/checkout@v2
153
- - uses : actions-rs/ toolchain@v1
157
+ - uses : actions/checkout@v4
158
+ - uses : dtolnay/rust- toolchain@stable
154
159
with :
155
- profile : minimal
156
160
toolchain : stable
157
- override : true
158
- - run : rustup component add rustfmt
159
- - uses : actions-rs/cargo@v1
160
- with :
161
- command : fmt
162
- args : --all -- --check
161
+ components : rustfmt
162
+ - run : cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments