Skip to content

Commit 580e4b1

Browse files
Merge pull request apache#252 from ballista-compute/fixup/use-nightly-fmt
ensure we use nightly with fmt
2 parents 9c1a5a7 + cac3a8e commit 580e4b1

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
# it's an unstable feature.
1616
rust-version: nightly
1717
- uses: actions/checkout@v2
18-
- run: cargo fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
18+
- run: cargo +nightly fmt -- --check --config-path <(echo 'license_template_path = "HEADER"')
1919

2020
lint:
2121
runs-on: ubuntu-latest

tests/sqlparser_regression.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
// Licensed under the Apache License, Version 2.0 (the "License");
2+
// you may not use this file except in compliance with the License.
3+
// You may obtain a copy of the License at
4+
//
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
//
7+
// Unless required by applicable law or agreed to in writing, software
8+
// distributed under the License is distributed on an "AS IS" BASIS,
9+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
// See the License for the specific language governing permissions and
11+
// limitations under the License.
12+
113
use sqlparser::dialect::GenericDialect;
214
use sqlparser::parser::Parser;
315

0 commit comments

Comments
 (0)