Skip to content

Commit

Permalink
feat(manager/asdf): support actionlint (#29500)
Browse files Browse the repository at this point in the history
  • Loading branch information
MPV committed Jun 7, 2024
1 parent 2556c94 commit faacbbc
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/modules/manager/asdf/extract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ describe('modules/manager/asdf/extract', () => {
const res = extractPackageFile(
codeBlock`
act 0.2.54
actionlint 0.7.0
adr-tools 3.0.0
argocd 2.5.4
asdf-plugin-manager 1.1.1
Expand Down Expand Up @@ -133,6 +134,13 @@ dummy 1.2.3
depName: 'act',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '0.7.0',
datasource: 'github-releases',
packageName: 'rhysd/actionlint',
depName: 'actionlint',
extractVersion: '^v(?<version>\\S+)',
},
{
currentValue: '3.0.0',
datasource: 'github-tags',
Expand Down
8 changes: 8 additions & 0 deletions lib/modules/manager/asdf/upgradeable-tooling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ export const upgradeableTooling: Record<string, ToolingDefinition> = {
extractVersion: '^v(?<version>\\S+)',
},
},
actionlint: {
asdfPluginUrl: 'https://github.com/crazy-matt/asdf-actionlint',
config: {
datasource: GithubReleasesDatasource.id,
packageName: 'rhysd/actionlint',
extractVersion: '^v(?<version>\\S+)',
},
},
'adr-tools': {
asdfPluginUrl: 'https://gitlab.com/td7x/asdf/adr-tools.git',
config: {
Expand Down

0 comments on commit faacbbc

Please sign in to comment.