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:
Jacob Bolda 2020-02-09 13:06:13 -06:00 committed by GitHub
parent a84656e037
commit 9eb9375959
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 16 deletions

24
.github/workflows/check-on-push.yml vendored Normal file
View 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 }}

View File

@ -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 }}