Fix write / read metadata race on local filesystem. #828
This file contains hidden or 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
| name: check-lint | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| - release-* | |
| - refs/tags/* | |
| paths-ignore: | |
| - '_quarto.yml' | |
| - 'quarto-materials/*' | |
| - '**/.md' | |
| - 'doc/source/conf.py' | |
| # We specifically check formatting for the tiledb_version.h | |
| # - 'tiledb/sm/c_api/tiledb_version.h' | |
| pull_request: | |
| paths-ignore: | |
| - '_quarto.yml' | |
| - 'quarto-materials/*' | |
| - '**/.md' | |
| - 'doc/source/conf.py' | |
| # We specifically check formatting for the tiledb_version.h | |
| # - 'tiledb/sm/c_api/tiledb_version.h' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| if: ${{ startsWith(github.ref , 'refs/tags') != true && startsWith(github.ref , 'build-') != true }} | |
| timeout-minutes: 90 | |
| name: Check Lint | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: 'Print env' | |
| run: | | |
| echo "'uname -s' is:" | |
| echo "uname: " $(uname) | |
| echo "uname -m: " $(uname -m) | |
| echo "uname -r:" $(uname -r) | |
| echo "uname -s: " $(uname -s) | |
| echo "uname -v: " $(uname -v) | |
| printenv | |
| shell: bash | |
| - name: Check Clang Formatting | |
| run: $GITHUB_WORKSPACE/scripts/ci/check_formatting_linux.sh | |
| - name: Run custom linters | |
| run: | | |
| set -e pipefail | |
| python scripts/linter.py $GITHUB_WORKSPACE/tiledb | |
| shell: bash | |
| - name: Install Rust Stable | |
| if: ${{ inputs.rust }} | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy, rustfmt | |
| - name: Check Rust Formatting | |
| run: | | |
| cd $GITHUB_WORKSPACE/tiledb/oxidize | |
| cargo fmt --quiet --check | |
| - name: Rust Lint | |
| run: | | |
| cd $GITHUB_WORKSPACE/tiledb/oxidize | |
| cargo clippy --no-deps --all-targets --all-features -- -Dwarnings |