mirror of
https://github.com/tauri-apps/tauri.git
synced 2025-01-04 17:18:56 +03:00
testing clippy check on push (#403)
* Create check-on-push.yml * push: * try clippy with stable * Create pid.rs * remove pull request clippy check * invalid mod? * remove mod * Delete pid.rs
This commit is contained in:
parent
a84656e037
commit
9eb9375959
24
.github/workflows/check-on-push.yml
vendored
Normal file
24
.github/workflows/check-on-push.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
name: clippy check
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches-ignore:
|
||||||
|
- master
|
||||||
|
- dev
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
clippy_check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
TAURI_DIST_DIR: tauri/test/fixture/dist
|
||||||
|
TAURI_DIR: ../test/fixture/src-tauri
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: install webkit2gtk
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y webkit2gtk-4.0
|
||||||
|
- run: rustup component add clippy
|
||||||
|
- uses: actions-rs/clippy-check@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
16
.github/workflows/test-on-pr.yml
vendored
16
.github/workflows/test-on-pr.yml
vendored
@ -3,22 +3,6 @@ name: test library
|
|||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
clippy_check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
env:
|
|
||||||
TAURI_DIST_DIR: tauri/test/fixture/dist
|
|
||||||
TAURI_DIR: ../test/fixture/src-tauri
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: install webkit2gtk
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y webkit2gtk-4.0
|
|
||||||
- run: rustup component add clippy
|
|
||||||
- uses: actions-rs/clippy-check@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
build-tauri-core:
|
build-tauri-core:
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user