increased timeout for benchmarks on CI runner and ignoring leveldb be… #2025
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
paths-ignore: | |
- 'doc/**' | |
- '**.md' | |
pull_request: | |
paths-ignore: | |
- 'doc/**' | |
- '**.md' | |
types: [opened, review_requested, reopened] | |
name: Check Formatting | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3.0.2 | |
- run: | | |
sed -i'' -e 's/git@github.com:/https:\/\/github.com\//' .gitmodules | |
git submodule update --init | |
rustup show | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Run cargo fmt | |
run: cargo fmt -- --check |