Merge pull request #27 from oskardotglobal/fix-ci

[ci skip] Skip rust-check and clippy on pre-commit.ci
This commit is contained in:
Oskar Manhart 2023-07-27 15:27:46 +00:00 committed by GitHub
commit b17d0f484b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 20 deletions

View File

@ -1,20 +0,0 @@
name: Rust Check
on:
push:
branches: [ "rewrite" ]
pull_request:
branches: [ "rewrite" ]
env:
CARGO_TERM_COLOR: always
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mirlahiji/rust-action@master
with:
args: cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test

View File

@ -18,6 +18,9 @@ on:
schedule:
- cron: '23 2 * * 5'
env:
CARGO_TERM_COLOR: always
jobs:
rust-clippy-analyze:
name: Run rust-clippy analyzing

View File

@ -1,3 +1,6 @@
ci:
skip: [clippy, cargo-check]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0