feat: patch chrono
This commit is contained in:
31
javascript-engine/external/chrono/.github/workflows/lint.yml
vendored
Normal file
31
javascript-engine/external/chrono/.github/workflows/lint.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, 0.4.x]
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.rs"
|
||||
- .github/**
|
||||
- .ci/**
|
||||
- Cargo.toml
|
||||
- deny.toml
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: cargo fmt -- --check --color=always
|
||||
- run: cargo clippy --color=always -- -D warnings -A clippy::manual-non-exhaustive
|
||||
env:
|
||||
RUSTFLAGS: "-Dwarnings"
|
||||
|
||||
cargo-deny:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: EmbarkStudios/cargo-deny-action@v1
|
||||
Reference in New Issue
Block a user