From 1221fa54ea42bc8a05b1116441cfe09671be68e1 Mon Sep 17 00:00:00 2001 From: Geovane Fedrecheski Date: Fri, 4 Oct 2024 16:22:15 +0200 Subject: [PATCH 1/2] fix: update actions checkout and upload --- .github/workflows/build-and-test.yml | 34 ++++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 9d1cbc1a..650fdd5b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Rust formatter run: rustup component add rustfmt - name: Check if code is well formatted @@ -30,7 +30,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run unit tests with default features run: RUST_BACKTRACE=1 cargo test @@ -48,7 +48,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run unit tests with feature matrix # note that we only add `--package lakers-ead-authz` when testing with that config run: RUST_BACKTRACE=1 cargo test -p lakers -p lakers-crypto -p lakers-shared ${{ matrix.ead == 'ead-authz' && '-p lakers-ead-authz' || '' }} --no-default-features --features="${{ matrix.crypto_backend }}, test-${{ matrix.ead }}" --no-fail-fast -- --test-threads 1 @@ -65,7 +65,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install arm targets for Rust run: rustup target add thumbv7m-none-eabi && rustup target add thumbv7em-none-eabihf @@ -81,7 +81,7 @@ jobs: steps: - name: Checkout lakers - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate fstar code over lakers and lakers-shared run: | @@ -98,7 +98,7 @@ jobs: zip -j -r lakers-fstar.zip $(find . -name *fst) - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: fstar-code path: ./lakers-fstar.zip @@ -114,7 +114,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install arm targets for Rust run: rustup target add thumbv7em-none-eabihf @@ -125,9 +125,9 @@ jobs: run: cd lakers-c && ./build.sh "${{ matrix.crypto_backend }}" - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: lakers-c + name: lakers-c-${{ matrix.crypto_backend }} path: ./target/lakers-c-*.zip @@ -140,10 +140,10 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout libcoap - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: obgm/libcoap path: libcoap @@ -177,7 +177,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: set up python uses: actions/setup-python@v5 @@ -206,7 +206,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install arm targets for Rust run: rustup target add thumbv7m-none-eabi @@ -230,7 +230,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install arm targets for Rust run: rustup target add thumbv7em-none-eabihf @@ -247,7 +247,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build server run: cargo build --bin coapserver @@ -273,7 +273,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download artifacts uses: actions/download-artifact@v4.1.7 with: @@ -282,7 +282,7 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v4.1.7 with: - name: lakers-c + pattern: lakers-c* path: ./release-artifacts - name: Release uses: ncipollo/release-action@v1 From 1844cb79811d384ba307873157c3624864299622 Mon Sep 17 00:00:00 2001 From: Geovane Fedrecheski Date: Fri, 11 Oct 2024 17:49:49 +0200 Subject: [PATCH 2/2] release: bump version to 0.7.1 --- Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0be6200e..1209d205 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ default-members = [ resolver = "2" [workspace.package] -version = "0.7.0" +version = "0.7.1" repository = "https://github.com/openwsn-berkeley/lakers/" license = "BSD-3-Clause" readme = "shared/README.md" @@ -40,16 +40,16 @@ categories = [ "no-std::no-alloc", "network-programming", "embedded" ] [workspace.dependencies] -lakers-shared = { package = "lakers-shared", path = "shared/", version = "^0.7.0" } +lakers-shared = { package = "lakers-shared", path = "shared/", version = "^0.7.1" } -lakers-ead-authz = { package = "lakers-ead-authz", path = "ead/lakers-ead-authz/", version = "^0.7.0" } +lakers-ead-authz = { package = "lakers-ead-authz", path = "ead/lakers-ead-authz/", version = "^0.7.1" } lakers-crypto = { path = "crypto/" } lakers-crypto-cryptocell310 = { path = "crypto/lakers-crypto-cryptocell310-sys/" } lakers-crypto-psa = { path = "crypto/lakers-crypto-psa/" } -lakers-crypto-rustcrypto = { package = "lakers-crypto-rustcrypto", path = "crypto/lakers-crypto-rustcrypto/", version = "^0.7.0" } +lakers-crypto-rustcrypto = { package = "lakers-crypto-rustcrypto", path = "crypto/lakers-crypto-rustcrypto/", version = "^0.7.1" } -lakers = { package = "lakers", path = "lib/", version = "^0.7.0", default-features = false } +lakers = { package = "lakers", path = "lib/", version = "^0.7.1", default-features = false } [patch.crates-io] psa-crypto = { git = "https://github.com/malishav/rust-psa-crypto", branch = "baremetal" }