-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update version, add instructions for Apache Releases
- Loading branch information
Showing
39 changed files
with
2,545 additions
and
1,304 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
name: Rust | ||
|
||
on: [push, pull_request] | ||
|
@@ -68,38 +85,3 @@ jobs: | |
use-tool-cache: true | ||
- name: Test | ||
run: cargo test --all-features | ||
|
||
test-coverage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Rust Toolchain | ||
uses: ./.github/actions/setup-builder | ||
with: | ||
rust-version: stable | ||
- name: Install Tarpaulin | ||
uses: actions-rs/[email protected] | ||
with: | ||
crate: cargo-tarpaulin | ||
version: 0.14.2 | ||
use-tool-cache: true | ||
- name: Coverage | ||
run: cargo tarpaulin -o Lcov --output-dir ./coverage | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
publish-crate: | ||
if: startsWith(github.ref, 'refs/tags/v0') | ||
runs-on: ubuntu-latest | ||
needs: [test] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Rust Toolchain | ||
uses: ./.github/actions/setup-builder | ||
- name: Publish | ||
shell: bash | ||
run: | | ||
cargo publish --token ${{ secrets.CRATES_TOKEN }} |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,12 +18,12 @@ | |
[package] | ||
name = "sqlparser" | ||
description = "Extensible SQL Lexer and Parser with support for ANSI SQL:2011" | ||
version = "0.51.0" | ||
authors = ["Andy Grove <[email protected]>"] | ||
homepage = "https://github.com/sqlparser-rs/sqlparser-rs" | ||
version = "0.52.0" | ||
authors = ["Apache DataFusion <[email protected]>"] | ||
homepage = "https://github.com/apache/datafusion-sqlparser-rs" | ||
documentation = "https://docs.rs/sqlparser/" | ||
keywords = ["ansi", "sql", "lexer", "parser"] | ||
repository = "https://github.com/sqlparser-rs/sqlparser-rs" | ||
repository = "https://github.com/apache/datafusion-sqlparser-rs" | ||
license = "Apache-2.0" | ||
include = [ | ||
"src/**/*.rs", | ||
|
@@ -58,12 +58,6 @@ simple_logger = "5.0" | |
matches = "0.1" | ||
pretty_assertions = "1" | ||
|
||
[package.metadata.release] | ||
# Instruct `cargo release` to not run `cargo publish` locally: | ||
# https://github.com/sunng87/cargo-release/blob/master/docs/reference.md#config-fields | ||
# See docs/releasing.md for details. | ||
publish = false | ||
|
||
[package.metadata.docs.rs] | ||
# Document these features on docs.rs | ||
features = ["serde", "visitor"] |
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
Oops, something went wrong.