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
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
continue-on-error: true
|
||||
name: Check
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
@@ -24,7 +25,6 @@ jobs:
|
||||
|
||||
- name: Run cargo check
|
||||
uses: clechasseur/rs-cargo@v2
|
||||
continue-on-error: true
|
||||
with:
|
||||
command: check
|
||||
|
||||
@@ -36,6 +36,7 @@ jobs:
|
||||
os: windows-latest
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
continue-on-error: true
|
||||
name: Test Suite
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
@@ -49,7 +50,6 @@ jobs:
|
||||
|
||||
- name: Run cargo test
|
||||
uses: clechasseur/rs-cargo@v2
|
||||
continue-on-error: true
|
||||
with:
|
||||
command: test
|
||||
|
||||
@@ -61,6 +61,7 @@ jobs:
|
||||
os: windows-latest
|
||||
- target: x86_64-unknown-linux-gnu
|
||||
os: ubuntu-latest
|
||||
continue-on-error: true
|
||||
name: Lints
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
@@ -75,14 +76,12 @@ jobs:
|
||||
|
||||
- name: Run cargo fmt
|
||||
uses: clechasseur/rs-cargo@v2
|
||||
continue-on-error: true
|
||||
with:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
|
||||
- name: Run cargo clippy
|
||||
uses: clechasseur/rs-cargo@v2
|
||||
continue-on-error: true
|
||||
with:
|
||||
command: clippy
|
||||
args: -- -D warnings
|
||||
|
||||
Reference in New Issue
Block a user