From ea692a83b002b6c0e43b2c94f9c3c9df07848b7d Mon Sep 17 00:00:00 2001 From: Joshua Chapman Date: Wed, 20 Mar 2024 17:47:06 +0100 Subject: [PATCH 1/2] Prepare release v0.6.4 Signed-off-by: Joshua Chapman --- CHANGELOG.md | 2 ++ Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- astarte-device-sdk-derive/CHANGELOG.md | 2 ++ astarte-device-sdk-derive/Cargo.lock | 2 +- astarte-device-sdk-derive/Cargo.toml | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcb7c50c..f2f4a844 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.6.4] - 2024-03-20 + ## [0.5.3] - 2024-03-20 ### Added - Add semver-check for release diff --git a/Cargo.lock b/Cargo.lock index 10e7019d..2945362d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -94,7 +94,7 @@ checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" [[package]] name = "astarte-device-sdk" -version = "0.6.3" +version = "0.6.4" dependencies = [ "astarte-device-sdk-derive", "async-trait", @@ -133,7 +133,7 @@ dependencies = [ [[package]] name = "astarte-device-sdk-derive" -version = "0.6.3" +version = "0.6.4" dependencies = [ "quote", "syn 1.0.109", diff --git a/Cargo.toml b/Cargo.toml index 69590d9c..c8c08c3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ [package] name = "astarte-device-sdk" -version = "0.6.3" +version = "0.6.4" documentation = "https://docs.rs/astarte-device-sdk" edition = "2021" homepage = "https://astarte.cloud/" @@ -24,7 +24,7 @@ name = "benchmark" harness = false [dependencies] -astarte-device-sdk-derive = { version = "=0.6.3", optional = true, path = "./astarte-device-sdk-derive" } +astarte-device-sdk-derive = { version = "=0.6.4", optional = true, path = "./astarte-device-sdk-derive" } async-trait = "0.1.2" base64 = "0.21.0" bson = { version = "2.1.0", features = ["chrono-0_4"] } diff --git a/astarte-device-sdk-derive/CHANGELOG.md b/astarte-device-sdk-derive/CHANGELOG.md index 17dcc180..ee83936a 100644 --- a/astarte-device-sdk-derive/CHANGELOG.md +++ b/astarte-device-sdk-derive/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.6.4] - 2024-03-20 + ## [0.5.3] - 2024-03-20 ## [0.6.3] - 2024-02-13 diff --git a/astarte-device-sdk-derive/Cargo.lock b/astarte-device-sdk-derive/Cargo.lock index ff818256..165fa4ff 100644 --- a/astarte-device-sdk-derive/Cargo.lock +++ b/astarte-device-sdk-derive/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "astarte-device-sdk-derive" -version = "0.6.3" +version = "0.6.4" dependencies = [ "quote", "syn", diff --git a/astarte-device-sdk-derive/Cargo.toml b/astarte-device-sdk-derive/Cargo.toml index 6e484e78..2c0f9503 100644 --- a/astarte-device-sdk-derive/Cargo.toml +++ b/astarte-device-sdk-derive/Cargo.toml @@ -6,7 +6,7 @@ [package] name = "astarte-device-sdk-derive" -version = "0.6.3" +version = "0.6.4" documentation = "https://docs.rs/astarte-device-sdk-derive" edition = "2021" homepage = "https://astarte.cloud/" From bc3f193e6e153de844c7641b18a0e28872b4df09 Mon Sep 17 00:00:00 2001 From: Joshua Chapman Date: Wed, 20 Mar 2024 17:54:06 +0100 Subject: [PATCH 2/2] ci: update workflows with latest versions Signed-off-by: Joshua Chapman --- .github/workflows/check.yaml | 12 ++++++------ .github/workflows/e2e-test.yaml | 2 +- .github/workflows/test.yaml | 10 +++++----- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 5d72b729..9279a834 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -53,7 +53,7 @@ jobs: toolchain: ${{ matrix.toolchain }} components: clippy - name: Install sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: cargo clippy run: cargo clippy --all-targets --all-features --workspace -- -D warnings doc: @@ -64,7 +64,7 @@ jobs: - name: Install nightly uses: dtolnay/rust-toolchain@nightly - name: Install sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: cargo doc run: cargo doc --no-deps --all-features --workspace env: @@ -77,7 +77,7 @@ jobs: - name: Install stable uses: dtolnay/rust-toolchain@stable - name: Install sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: cargo install cargo-hack uses: taiki-e/install-action@cargo-hack - name: cargo hack @@ -96,11 +96,11 @@ jobs: - name: Install cargo minimal-versions uses: taiki-e/install-action@cargo-minimal-versions - name: Install sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: rustup default stable run: rustup default stable - name: Check minimal versions - run: cargo minimal-versions check --workspace --ignore-private --detach-path-deps --direct + run: cargo minimal-versions check --workspace --ignore-private --detach-path-deps=skip-exact --direct env: RUSTFLAGS: -D warnings msrv: @@ -116,7 +116,7 @@ jobs: with: toolchain: ${{ matrix.msrv }} - name: Install sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: cargo +${{ matrix.msrv }} check run: cargo check --all-features --workspace # Run semver-check on release branch push or PR diff --git a/.github/workflows/e2e-test.yaml b/.github/workflows/e2e-test.yaml index 404dface..e79e597a 100644 --- a/.github/workflows/e2e-test.yaml +++ b/.github/workflows/e2e-test.yaml @@ -55,7 +55,7 @@ jobs: - name: Install stable uses: dtolnay/rust-toolchain@stable - name: Install sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: Run test run: | cargo test --package astarte-device-sdk --test e2etest -- run_e2etest --exact --nocapture --ignored diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 46520d84..56defed1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -42,7 +42,7 @@ jobs: with: toolchain: ${{ matrix.toolchain }} - name: Install sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: cargo generate-lockfile if: hashFiles('Cargo.lock') == '' run: cargo generate-lockfile @@ -63,10 +63,10 @@ jobs: - name: Install stable uses: dtolnay/rust-toolchain@stable - name: Install sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 # Setup vcpkg binary cache # https://learn.microsoft.com/en-us/vcpkg/users/binarycaching#gha-quickstart - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: script: | core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || ''); @@ -90,7 +90,7 @@ jobs: with: components: llvm-tools-preview - name: Install sccache-cache - uses: mozilla-actions/sccache-action@v0.0.3 + uses: mozilla-actions/sccache-action@v0.0.4 - name: cargo install cargo-tarpaulin uses: taiki-e/install-action@cargo-tarpaulin - name: cargo generate-lockfile @@ -99,7 +99,7 @@ jobs: - name: Run cargo-tarpaulin with xml output run: cargo tarpaulin --engine llvm --locked --all-features --ignore-tests --lib --out xml -- --test-threads 1 - name: Upload to codecov.io - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{secrets.CODECOV_TOKEN}} fail_ci_if_error: true