-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ddd99c
commit e2f3418
Showing
3 changed files
with
78 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# git add --renormalize . | ||
# | ||
* text=auto eol=lf | ||
*.{cmd,[cC][mM][dD]} text eol=crlf | ||
*.{bat,[bB][aA][tT]} text eol=crlf | ||
# | ||
# LFS can be used as well | ||
# | ||
# *.zip filter=lfs diff=lfs merge=lfs -text |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "cargo" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" | ||
# ignore: | ||
# - dependency-name: "arrow" | ||
# group of dependencies to be updated together | ||
groups: | ||
# all datafusion deps should be updated together | ||
datafusion-dependencies: | ||
# A pattern can be... | ||
patterns: | ||
- "datafusion*" | ||
- "datafusion-*" |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Basic Flow | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
paths-ignore: | ||
- "**.md" | ||
- "**.yaml" | ||
pull_request: | ||
branches: [master] | ||
paths-ignore: | ||
- "**.md" | ||
- "**.yaml" | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
# this one speeds up builds, they say | ||
CARGO_INCREMENTAL: 0 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
components: rustfmt | ||
# make cargo format to fail first | ||
# before bringing other things, and spending time | ||
# compiling | ||
- name: Cargo Format Check | ||
run: cargo fmt --all --check -- | ||
# we use cache if format is correct | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
cache-on-failure: true | ||
- name: Cargo Compile (with tests) | ||
# should be faster than compiling tests again in | ||
# test phase | ||
# run: cargo test --no-run --locked --all-features | ||
run: cargo test --no-run --all-features | ||
- name: Cargo Run Tests | ||
run: cargo test -- --nocapture --quiet | ||
|