Skip to content

Commit

Permalink
Merge pull request #126 from arkedge/pin-cargo-about-version
Browse files Browse the repository at this point in the history
Pin cargo-about version
  • Loading branch information
sksat authored Nov 19, 2024
2 parents d96b1ed + d3022fc commit 806993e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
tags: ['v*']

env:
# renovate: datasource=github-releases depName=EmbarkStudios/cargo-about
CARGO_ABOUT_VERSION: 0.6.4

jobs:
build:
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -38,7 +42,7 @@ jobs:

- name: install cargo-about
run: |
cargo install --locked cargo-about
cargo install --locked cargo-about --version ${{ env.CARGO_ABOUT_VERSION }}
- name: Build
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ permissions:
checks: write
pull-requests: write

env:
# renovate: datasource=github-releases depName=EmbarkStudios/cargo-about
CARGO_ABOUT_VERSION: 0.6.4

jobs:
verify-crate:
runs-on: ubuntu-latest
Expand All @@ -35,7 +39,7 @@ jobs:

- name: install cargo-about
run: |
cargo install cargo-about
cargo install --locked cargo-about --version ${{ env.CARGO_ABOUT_VERSION }}
- name: reviewdog / clippy
uses: sksat/[email protected]
Expand Down
12 changes: 11 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>arkedge/renovate-config"]
"extends": ["github>arkedge/renovate-config"],
"customManagers": [
{
"customType": "regex",
"fileMatch": [".github/workflows/*"],
"matchStrings": [
"datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?_VERSION:\\s(?<currentValue>.*)\\s",
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
}
]
}

0 comments on commit 806993e

Please sign in to comment.