Skip to content

Commit ad5abfc

Browse files
committed
update rust version in CI
1 parent 9c16563 commit ad5abfc

File tree

4 files changed

+36
-53
lines changed

4 files changed

+36
-53
lines changed

Diff for: .github/workflows/connectors.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
uses: actions-rs/toolchain@v1
5050
if: needs.paths-filter.outputs.atf_modified == 'true'
5151
with:
52-
toolchain: nightly-2023-04-16
52+
toolchain: stable
5353
target: x86_64-unknown-linux-musl
5454
default: true
5555
override: true

Diff for: airbyte-to-flow/Cargo.lock

+22-46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: airbyte-to-flow/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ clap = { version = "^3", features = ["derive"] }
2424
futures = "*"
2525
futures-core = "*"
2626
futures-util = "*"
27-
prost = "0.12"
27+
prost = "0.13"
2828
schemars = "0.8"
29-
serde = { version = "*", features = ["derive"]}
30-
serde_json = { version = "*", features = ["raw_value"]}
29+
serde = { version = "*", features = ["derive"] }
30+
serde_json = { version = "*", features = ["raw_value"] }
3131
structopt = "*"
3232
strum_macros = "*"
3333
strum = { version = "0.24.1", features = ["derive"] }

Diff for: airbyte-to-flow/src/main.rs

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use anyhow::Context;
2-
use clap::{Parser, ValueEnum};
2+
use clap::Parser;
33
use errors::Error;
44
use flow_cli_common::{init_logging, LogArgs, LogLevel};
55

@@ -36,7 +36,14 @@ fn main() -> anyhow::Result<()> {
3636

3737
let log_level = std::env::var("LOG_LEVEL")
3838
.ok()
39-
.and_then(|s| LogLevel::from_str(&s, true).ok())
39+
.and_then(|s| match s.as_str() {
40+
"trace" => Some(LogLevel::Trace),
41+
"debug" => Some(LogLevel::Debug),
42+
"info" => Some(LogLevel::Info),
43+
"warn" => Some(LogLevel::Warn),
44+
"error" => Some(LogLevel::Error),
45+
_ => None,
46+
})
4047
.unwrap_or(LogLevel::Info);
4148
let log_args = LogArgs {
4249
level: log_level,
@@ -64,7 +71,7 @@ fn main() -> anyhow::Result<()> {
6471
match result {
6572
Err(Error::ExitCode(code)) => {
6673
std::process::exit(code);
67-
},
74+
}
6875
Err(err) => Err(err.into()),
6976
Ok(()) => {
7077
tracing::debug!(message = "atf exiting");

0 commit comments

Comments
 (0)