From f5463614779d2c2813e41a6dd2bc8981fb134c21 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Thu, 2 Jan 2025 08:14:10 +0100 Subject: [PATCH] Update CI --- .github/workflows/build.yml | 25 ++++++++++++------------- LICENSE-MIT | 2 +- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4385c96..46d38f2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,14 +23,14 @@ jobs: - thumbv7m-none-eabi steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} targets: ${{ matrix.TARGET }} - name: Checkout CI scripts - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'eldruin/rust-driver-ci-scripts' ref: 'master' @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: targets: x86_64-unknown-linux-gnu @@ -60,10 +60,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.70.0 + toolchain: 1.83.0 targets: x86_64-unknown-linux-gnu components: clippy @@ -78,7 +78,7 @@ jobs: TARGET: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} @@ -93,16 +93,15 @@ jobs: coverage: name: Coverage runs-on: ubuntu-latest - container: - image: xd009642/tarpaulin:latest - options: --security-opt seccomp=unconfined steps: - - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - name: Run cargo-tarpaulin - run: cargo tarpaulin --out Lcov -- --test-threads 1 + - name: Install cargo-llvm-cov + uses: taiki-e/install-action@cargo-llvm-cov + + - name: Generate code coverage + run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info - name: upload to Coveralls uses: coverallsapp/github-action@master diff --git a/LICENSE-MIT b/LICENSE-MIT index bf445da..8b15453 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,4 +1,4 @@ -Copyright (C) 2018-2023 Diego Barrios Romero +Copyright (C) 2018-2025 Diego Barrios Romero Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in