From 4cdcf612e6a11f66f5ec29981f92aa7027f387cb Mon Sep 17 00:00:00 2001 From: gacallea <3269984+gacallea@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:46:03 +0200 Subject: [PATCH 1/4] ci: change dependabot to less aggressive schedule from daily to weekly on mondays Signed-off-by: gacallea <3269984+gacallea@users.noreply.github.com> --- .github/dependabot.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0b4dd78..7834b95 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,13 +3,16 @@ updates: # Maintain dependencies for Cargo - package-ecosystem: cargo directory: "/" + # Check for updates every Monday schedule: - interval: daily + interval: "weekly" open-pull-requests-limit: 10 + versioning-strategy: "lockfile-only" # Maintain dependencies for GitHub Actions - - package-ecosystem: github-actions + - package-ecosystem: "github-actions" directory: "/" + # Check for updates every Monday schedule: - interval: daily + interval: "weekly" open-pull-requests-limit: 10 From f0c0005f42ae8d853c0ba2be72b1cee787ac9e0f Mon Sep 17 00:00:00 2001 From: gacallea <3269984+gacallea@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:31:00 +0200 Subject: [PATCH 2/4] ci: added cargo-assist run clippy and fmt on push! Signed-off-by: gacallea <3269984+gacallea@users.noreply.github.com> --- .github/workflows/cargo-assist.yml | 21 +++++++++++++++++++++ README.md | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 .github/workflows/cargo-assist.yml diff --git a/.github/workflows/cargo-assist.yml b/.github/workflows/cargo-assist.yml new file mode 100644 index 0000000..8c643f0 --- /dev/null +++ b/.github/workflows/cargo-assist.yml @@ -0,0 +1,21 @@ +name: Cargo Assist + +permissions: + contents: write + +on: + push: + +jobs: + cargo-assist: + name: Cargo Assist + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@stable + - name: Run Cargo Assist + uses: MarcoIeni/cargo-assist@v0.1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index d76eae4..c1b7d8d 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ A command line utility to help you credit [Freesound](https://freesound.org) samples for a given project more easily. +[![Cargo +Assist](https://github.com/gacallea/freesound-credits/actions/workflows/cargo-assist.yml/badge.svg)](https://github.com/gacallea/freesound-credits/actions/workflows/cargo-assist.yml) [![Cargo Audit](https://github.com/gacallea/freesound-credits/actions/workflows/cargo_audit.yml/badge.svg)](https://github.com/gacallea/freesound-credits/actions/workflows/cargo_audit.yml) [![Release](https://github.com/gacallea/freesound-credits/actions/workflows/release.yml/badge.svg)](https://github.com/gacallea/freesound-credits/actions/workflows/release.yml) From f541cee669415cbfab3db0c198ec83148fb92690 Mon Sep 17 00:00:00 2001 From: gacallea <3269984+gacallea@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:55:43 +0200 Subject: [PATCH 3/4] ci: fix cliff toml I had the wrong repo url! will this work now? Signed-off-by: gacallea <3269984+gacallea@users.noreply.github.com> --- cliff.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cliff.toml b/cliff.toml index c529d41..14b7ce9 100644 --- a/cliff.toml +++ b/cliff.toml @@ -6,9 +6,10 @@ # See documentation for more information on available options. [changelog] -# template for the changelog header +# changelog header header = """ -[![animation](https://raw.githubusercontent.com/orhun/git-cliff/main/website/static/img/git-cliff-anim.gif)](https://git-cliff.org)\n +# Changelog\n +All notable changes to this project will be documented in this file.\n """ # template for the changelog body # https://keats.github.io/tera/docs/#introduction @@ -58,7 +59,7 @@ footer = """ trim = true # postprocessors postprocessors = [ - { pattern = '', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL + { pattern = '', replace = "https://github.com/gacallea/freesound-credits" }, # replace repository URL ] [git] From 1be859a751359d4114fda6002cf33409d2597448 Mon Sep 17 00:00:00 2001 From: gacallea <3269984+gacallea@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:59:27 +0200 Subject: [PATCH 4/4] chore: path bump for ci improvements Signed-off-by: gacallea <3269984+gacallea@users.noreply.github.com> --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9101a78..9f89e59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -99,7 +99,7 @@ checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" [[package]] name = "freesound-credits" -version = "0.2.5" +version = "0.2.6" dependencies = [ "clap", ] diff --git a/Cargo.toml b/Cargo.toml index bc52c14..877b133 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "freesound-credits" -version = "0.2.5" +version = "0.2.6" edition = "2021" license = "MIT OR Apache-2.0"