diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 488e9a1e..5b7da22a 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -46,8 +46,6 @@ jobs: - name: Move binary run: mv target/*/bot target - - run: ls -l target/bot - - uses: actions/upload-artifact@v3 with: name: executable diff --git a/core/src/model/data.rs b/core/src/model/data.rs index 2638a1e5..400c25cc 100644 --- a/core/src/model/data.rs +++ b/core/src/model/data.rs @@ -1,7 +1,6 @@ use crate::model::MultilangFs; use crate::prelude::*; use anyhow::{anyhow, Result}; -use log::info; use std::borrow::Cow; #[derive(Debug)] @@ -11,11 +10,11 @@ pub struct Data { impl Data { pub fn dynamic() -> Self { - info!("Dynamic data!"); + log::info!("Dynamic data!"); Self { data: None } } pub fn cached() -> Result { - info!("Cached data!"); + log::info!("Cached data!"); Ok(Self { data: Some(get_data_from_file("table.csv")?), }) diff --git a/docker-compose_dev.yml b/docker-compose_dev.yml index cd7ea073..0a360680 100644 --- a/docker-compose_dev.yml +++ b/docker-compose_dev.yml @@ -5,6 +5,7 @@ services: image: first_aid_bot:dev environment: - SHEET_ID + - RUST_LOG=info - TELOXIDE_TOKEN restart: unless-stopped depends_on: