Skip to content

Commit 0a92ce7

Browse files
author
admin
committed
CI
1 parent 00ee5aa commit 0a92ce7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
run: bash scripts/linux_ffmpeg.rs
7272

7373
- name: export ffmpeg env
74-
- run: |
74+
run: |
7575
export FFMPEG_PKG_CONFIG_PATH=${PWD}/tmp/ffmpeg_build/lib/pkgconfig
7676
export FFMPEG_INCLUDE_DIR=${PWD}/tmp/ffmpeg_build/include
7777
@@ -147,16 +147,16 @@ jobs:
147147

148148
lints:
149149
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+
151156
steps:
152-
- uses: actions/checkout@v2
153-
- uses: actions-rs/toolchain@v1
157+
- uses: actions/checkout@v4
158+
- uses: dtolnay/rust-toolchain@stable
154159
with:
155-
profile: minimal
156160
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

0 commit comments

Comments
 (0)