mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-21 21:48:21 -05:00
ci: fix clippy.yml
This commit is contained in:
parent
36aa2f9e86
commit
b4a05bc940
4
.github/workflows/clippy.yml
vendored
4
.github/workflows/clippy.yml
vendored
@ -15,5 +15,5 @@ jobs:
|
|||||||
- run: rustup component add clippy
|
- run: rustup component add clippy
|
||||||
- uses: actions-rs/clippy-check@v1
|
- uses: actions-rs/clippy-check@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
args: --all-features
|
args: --all-targets --all-features -- -D warnings
|
||||||
|
26
.github/workflows/rustfmt.yml
vendored
26
.github/workflows/rustfmt.yml
vendored
@ -8,20 +8,16 @@ on:
|
|||||||
- "rolling"
|
- "rolling"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
formatting:
|
||||||
name: rustfmt
|
name: cargo fmt
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions-rs/toolchain@v1
|
# Ensure rustfmt is installed and setup problem matcher
|
||||||
with:
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
toolchain: nightly
|
with:
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
override: true
|
- name: Rustfmt Check
|
||||||
- uses: LoliGothick/rustfmt-check@master
|
uses: Syndelis/rustfmt-action@v1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
flags: --all
|
|
||||||
options: --manifest-path=Cargo.toml
|
|
||||||
args: --config-path=rustfmt.toml
|
|
||||||
working-directory: my_crate
|
|
||||||
|
Loading…
Reference in New Issue
Block a user