From e201ddfcc82c3807d46cb6d56a5c91106d180f90 Mon Sep 17 00:00:00 2001 From: Diogo Sousa Date: Mon, 12 Feb 2024 22:22:18 +0000 Subject: [PATCH] Updated github action dependencies. --- .github/workflows/ci.yml | 8 ++------ .github/workflows/release.yml | 5 +++-- src/main.rs | 1 + 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b07eb3f..d75fa67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,9 +29,7 @@ jobs: cargo install cargo-deadlinks - name: Checkout repository - uses: actions/checkout@v3 - with: - fetch-depth: 2 + uses: actions/checkout@v4 - name: Check everything run: bash ./tools/check.sh @@ -47,9 +45,7 @@ jobs: run: cargo install cargo-msrv - name: Checkout repository - uses: actions/checkout@v3 - with: - fetch-depth: 2 + uses: actions/checkout@v4 - name: Check the minimum supported rust version run: cargo msrv verify diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f887fd..615cfb1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,9 +22,10 @@ jobs: archive: tar.zst zip steps: - - uses: actions/checkout@main + - uses: actions/checkout@v4 + - name: Build release binary - uses: rust-build/rust-build.action@v1.4.0 + uses: rust-build/rust-build.action@v1.4.4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/src/main.rs b/src/main.rs index b9ba942..a9a8711 100644 --- a/src/main.rs +++ b/src/main.rs @@ -191,6 +191,7 @@ async fn main_loop(config: Config) -> ! { info!("No fermenters found."); } + // WIP! do in parallel? for ferm in ferms { match grainfather.get_fermenter_temperature(ferm.id).await { Ok(Some(temp_record)) => {