mirror of
https://github.com/alterware/alterware-launcher.git
synced 2025-12-04 07:17:50 +00:00
fix linting
This commit is contained in:
7
.github/workflows/lint.yml
vendored
7
.github/workflows/lint.yml
vendored
@@ -11,6 +11,7 @@ jobs:
|
|||||||
os: windows-latest
|
os: windows-latest
|
||||||
- target: x86_64-unknown-linux-gnu
|
- target: x86_64-unknown-linux-gnu
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
name: Check
|
name: Check
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@@ -24,7 +25,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run cargo check
|
- name: Run cargo check
|
||||||
uses: clechasseur/rs-cargo@v2
|
uses: clechasseur/rs-cargo@v2
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
|
|
||||||
@@ -36,6 +36,7 @@ jobs:
|
|||||||
os: windows-latest
|
os: windows-latest
|
||||||
- target: x86_64-unknown-linux-gnu
|
- target: x86_64-unknown-linux-gnu
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
name: Test Suite
|
name: Test Suite
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@@ -49,7 +50,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run cargo test
|
- name: Run cargo test
|
||||||
uses: clechasseur/rs-cargo@v2
|
uses: clechasseur/rs-cargo@v2
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
|
|
||||||
@@ -61,6 +61,7 @@ jobs:
|
|||||||
os: windows-latest
|
os: windows-latest
|
||||||
- target: x86_64-unknown-linux-gnu
|
- target: x86_64-unknown-linux-gnu
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
|
continue-on-error: true
|
||||||
name: Lints
|
name: Lints
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
@@ -75,14 +76,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Run cargo fmt
|
- name: Run cargo fmt
|
||||||
uses: clechasseur/rs-cargo@v2
|
uses: clechasseur/rs-cargo@v2
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
command: fmt
|
command: fmt
|
||||||
args: --all -- --check
|
args: --all -- --check
|
||||||
|
|
||||||
- name: Run cargo clippy
|
- name: Run cargo clippy
|
||||||
uses: clechasseur/rs-cargo@v2
|
uses: clechasseur/rs-cargo@v2
|
||||||
continue-on-error: true
|
|
||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
args: -- -D warnings
|
args: -- -D warnings
|
||||||
|
|||||||
Reference in New Issue
Block a user