|
@@ -18,20 +18,18 @@ jobs:
|
|
|
|
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/checkout@v3
|
|
- - name: install webkit2gtk
|
|
|
|
|
|
+
|
|
|
|
+ - name: Install dependencies
|
|
run: |
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get update
|
|
sudo apt-get install -y webkit2gtk-4.1
|
|
sudo apt-get install -y webkit2gtk-4.1
|
|
|
|
+
|
|
- name: Install clippy with stable toolchain
|
|
- name: Install clippy with stable toolchain
|
|
- uses: actions-rs/toolchain@v1
|
|
|
|
- with:
|
|
|
|
- profile: minimal
|
|
|
|
- toolchain: stable
|
|
|
|
- override: true
|
|
|
|
- components: clippy
|
|
|
|
- - uses: actions-rs/clippy-check@v1
|
|
|
|
|
|
+ uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
with:
|
|
- token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- args: --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings
|
|
|
|
- name: clippy
|
|
|
|
|
|
+ components: clippy
|
|
|
|
+
|
|
|
|
+ - uses: Swatinem/rust-cache@v2
|
|
|
|
+
|
|
|
|
+ - run: cargo clippy --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings
|
|
{{{{/raw}}}}
|
|
{{{{/raw}}}}
|