mirror of
https://github.com/ouch-org/ouch.git
synced 2025-07-29 14:12:49 +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
|
# path: target\x86_64-pc-windows-gnu\release\ouch.exe
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
strategy:
|
name: Check sourcecode format
|
||||||
matrix:
|
runs-on: ubuntu-latest
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
@ -294,12 +292,6 @@ jobs:
|
|||||||
components: rustfmt
|
components: rustfmt
|
||||||
override: true
|
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
|
- name: Check format with cargo fmt
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user