From 65608b38c49d5d6167a780ca25cabd05d81d21a2 Mon Sep 17 00:00:00 2001 From: Rinde van Lon Date: Tue, 21 Mar 2023 10:46:34 +0000 Subject: [PATCH 1/4] add caching to semver check --- .github/workflows/pr.yaml | 3 +++ Makefile | 13 ++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index bfcaa01..8112959 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -60,6 +60,9 @@ jobs: git config --global user.email "rust-maintainers@moiaorg.onmicrosoft.com" git config --global user.name "MOIA Rust Maintainers" git commit -am "Phantom release ${{ steps.calc_version.outputs.version }} [skip ci]" + - uses: Swatinem/rust-cache@v2 + with: + shared-key: semver - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v1 with: diff --git a/Makefile b/Makefile index ed58cc3..312283f 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,18 @@ lint: --benches \ -- \ -D clippy::style \ - -D clippy::perf + -D clippy::perf \ + -D clippy::todo \ + -D clippy::doc_link_with_quotes \ + -D clippy::doc_markdown \ + -D clippy::cloned_instead_of_copied \ + -D clippy::checked_conversions \ + -D clippy::filter_map_next \ + -D clippy::manual_instant_elapsed \ + -D clippy::cast_possible_wrap \ + -D clippy::cast_lossless \ + -D clippy::cast_possible_truncation \ + -D clippy::cast_sign_loss cargo doc \ --all \ --no-deps \ From d181cae7846b5bfa43b7486c0216fc8470bd3db6 Mon Sep 17 00:00:00 2001 From: Rinde van Lon Date: Tue, 21 Mar 2023 10:55:27 +0000 Subject: [PATCH 2/4] Revert "add caching to semver check" This reverts commit 65608b38c49d5d6167a780ca25cabd05d81d21a2. --- .github/workflows/pr.yaml | 3 --- Makefile | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 8112959..bfcaa01 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -60,9 +60,6 @@ jobs: git config --global user.email "rust-maintainers@moiaorg.onmicrosoft.com" git config --global user.name "MOIA Rust Maintainers" git commit -am "Phantom release ${{ steps.calc_version.outputs.version }} [skip ci]" - - uses: Swatinem/rust-cache@v2 - with: - shared-key: semver - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v1 with: diff --git a/Makefile b/Makefile index 312283f..ed58cc3 100644 --- a/Makefile +++ b/Makefile @@ -25,18 +25,7 @@ lint: --benches \ -- \ -D clippy::style \ - -D clippy::perf \ - -D clippy::todo \ - -D clippy::doc_link_with_quotes \ - -D clippy::doc_markdown \ - -D clippy::cloned_instead_of_copied \ - -D clippy::checked_conversions \ - -D clippy::filter_map_next \ - -D clippy::manual_instant_elapsed \ - -D clippy::cast_possible_wrap \ - -D clippy::cast_lossless \ - -D clippy::cast_possible_truncation \ - -D clippy::cast_sign_loss + -D clippy::perf cargo doc \ --all \ --no-deps \ From ab7492c47a935002e13a1e87b981f15c839d74fb Mon Sep 17 00:00:00 2001 From: Rinde van Lon Date: Tue, 21 Mar 2023 10:56:29 +0000 Subject: [PATCH 3/4] add cache --- .github/workflows/pr.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index bfcaa01..75f2189 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -60,6 +60,9 @@ jobs: git config --global user.email "rust-maintainers@moiaorg.onmicrosoft.com" git config --global user.name "MOIA Rust Maintainers" git commit -am "Phantom release ${{ steps.calc_version.outputs.version }} [skip ci]" + - uses: Swatinem/rust-cache@v2 + with: + shared-key: semver-cache - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v1 with: From 53741bda2ac6cca4f9dc26166f302cf218d73a92 Mon Sep 17 00:00:00 2001 From: MOIA Rust Maintainers Date: Tue, 21 Mar 2023 17:07:25 +0000 Subject: [PATCH 4/4] Release 0.3.1 [skip ci] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f0cc72b..9f04fae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ homepage = "https://github.com/moia-oss/tinytime.rs" repository = "https://github.com/moia-oss/tinytime.rs" documentation = "https://docs.rs/tinytime" edition = "2021" -version = "0.3.0" +version = "0.3.1" license = "MIT OR Apache-2.0" [dependencies]