From 88798c849cf1780dbafeff5fd406a940ff3d26da Mon Sep 17 00:00:00 2001 From: UnAfraid Date: Sat, 30 Mar 2024 02:57:48 +0200 Subject: [PATCH] Updated to rust toolchain 1.77.1 --- .github/workflows/release-docker-ghcr.yml | 2 +- .github/workflows/release.yml | 8 ++++---- .github/workflows/rust.yml | 2 +- Cargo.lock | 2 +- Cargo.toml | 2 +- Dockerfile | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-docker-ghcr.yml b/.github/workflows/release-docker-ghcr.yml index 89d34b2..24755f0 100644 --- a/.github/workflows/release-docker-ghcr.yml +++ b/.github/workflows/release-docker-ghcr.yml @@ -52,7 +52,7 @@ jobs: org.opencontainers.image.documentation="https://github.com/nikiforov-soft/ble-to-mqtt" - name: Build and push image to GHCR - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . push: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4840069..4795a24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: if: ${{ matrix.target == 'x86_64-unknown-linux-gnu' || matrix.target == 'x86_64-pc-windows-gnu' }} uses: actions-rust-lang/setup-rust-toolchain@v1 with: - toolchain: 1.68 + toolchain: 1.77.1 target: ${{ matrix.target }} - name: "Install dependencies (Linux)" @@ -49,7 +49,7 @@ jobs: -e CC=o64-clang \ -e CXX=o64-clang++ \ -e LIBZ_SYS_STATIC=1 \ - joseluisq/rust-linux-darwin-builder:1.68.0 \ + joseluisq/rust-linux-darwin-builder:1.77.1 \ sh -c "cargo build --release --target x86_64-apple-darwin" - name: "Build target (macOS arm64)" @@ -62,7 +62,7 @@ jobs: -e CC=oa64-clang \ -e CXX=oa64-clang++ \ -e LIBZ_SYS_STATIC=1 \ - joseluisq/rust-linux-darwin-builder:1.68.0 \ + joseluisq/rust-linux-darwin-builder:1.77.1 \ sh -c "cargo build --release --target aarch64-apple-darwin" - name: "Package" @@ -73,7 +73,7 @@ jobs: cd - - name: "Publish" - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: '${{ github.event.repository.name }}-*' env: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index dcf4055..4a202ff 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,7 +24,7 @@ jobs: - name: Setup Rust uses: actions-rust-lang/setup-rust-toolchain@v1 with: - toolchain: 1.72 + toolchain: 1.77.1 - name: Build run: cargo build diff --git a/Cargo.lock b/Cargo.lock index c21c65d..8e39c83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -147,7 +147,7 @@ checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" [[package]] name = "ble-to-mqtt" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "btleplug", diff --git a/Cargo.toml b/Cargo.toml index 0b2d5f0..781d29b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ble-to-mqtt" -version = "0.1.0" +version = "0.1.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/Dockerfile b/Dockerfile index 953d9e0..f74807e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.72.0-bookworm as builder +FROM rust:1.77-bookworm as builder ENV CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse