mirror of
https://github.com/ouch-org/ouch.git
synced 2025-07-29 06:02:26 +00:00
ci(fix): fmt could be done only one time, on Linux e.g.
This commit is contained in:
parent
2568a58498
commit
217dd9c910
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -276,10 +276,8 @@ jobs:
|
||||
# path: target\x86_64-pc-windows-gnu\release\ouch.exe
|
||||
|
||||
fmt:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: Check sourcecode format
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
@ -294,12 +292,6 @@ jobs:
|
||||
components: rustfmt
|
||||
override: true
|
||||
|
||||
- name: Run cargo build
|
||||
uses: actions-rs/cargo@v1
|
||||
if: ${{ matrix.os=='windows-latest' }}
|
||||
with:
|
||||
command: build
|
||||
|
||||
- name: Check format with cargo fmt
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user