mirror of
https://github.com/vrc-get/vrc-get.git
synced 2026-06-28 10:02:10 +00:00
ci: fix clippy check workflow
This commit is contained in:
parent
5c8b555796
commit
0aeff6eecc
2 changed files with 16 additions and 1 deletions
2
.github/workflows/ci-gui.yml
vendored
2
.github/workflows/ci-gui.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
sudo apt update && sudo apt install -y lld
|
||||
ld.lld --version
|
||||
|
||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
|
||||
sudo apt update && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
|
||||
rustflags: "-C link-arg=-fuse-ld=lld"
|
||||
|
||||
- triple: x86_64-pc-windows-msvc
|
||||
|
|
|
|||
15
.github/workflows/lint.yml
vendored
15
.github/workflows/lint.yml
vendored
|
|
@ -29,11 +29,26 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy
|
||||
|
||||
- name: install dependencies
|
||||
run:
|
||||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
|
||||
|
||||
- uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.2xx
|
||||
|
||||
- name: try clippy without action
|
||||
# avoid silent build failure
|
||||
# see https://github.com/giraffate/clippy-action/issues/88
|
||||
run: cargo clippy --color always -q --all --all-targets --all-features
|
||||
|
||||
- uses: giraffate/clippy-action@v1
|
||||
with:
|
||||
reporter: github-pr-check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue