mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 16:56:24 +02:00
move folder to correct spot and open correct directory in workflow
This commit is contained in:
parent
28c582fbdc
commit
b7273eab55
1 changed files with 3 additions and 0 deletions
45
.github/workflows/checks.yml
vendored
Normal file
45
.github/workflows/checks.yml
vendored
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
name: Static Analysis
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
# Check and Linting are seperate jobs because linting does not fail
|
||||
#when there are errors outside of the changed files in the pr
|
||||
check:
|
||||
name: Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: cd envoyfilter
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Run Check
|
||||
run: cargo check --lib --bins --examples --all-features
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: cd envoyfilter
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Run Clippy
|
||||
run: cargo clippy --all-targets --all-features
|
||||
|
||||
format:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- run: cd envoyfilter
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup | Rust
|
||||
run: rustup toolchain install stable --profile minimal
|
||||
- name: Setup | Install Rustfmt
|
||||
run: rustup component add rustfmt
|
||||
- name: Run Rustfmt
|
||||
run: cargo fmt --all -- --check
|
||||
Loading…
Add table
Add a link
Reference in a new issue