-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(asdf): setup automatic tool-versions updates
- Loading branch information
1 parent
e278757
commit 92f9fd7
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Tool Versions Update | ||
on: | ||
workflow_dispatch: ~ | ||
push: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
tool-versions-update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install asdf | ||
uses: asdf-vm/actions/setup@v3 | ||
|
||
# Configure asdf plugins | ||
# - run: asdf plugin-add aws-vault https://github.com/karancode/asdf-aws-vault.git | ||
# - run: asdf plugin-add deno https://github.com/asdf-community/asdf-deno.git | ||
# - run: asdf plugin-add golang https://github.com/asdf-community/asdf-golang.git | ||
# - run: asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git | ||
# - run: asdf plugin-add python https://github.com/asdf-community/asdf-python.git | ||
# - run: asdf plugin-add kubectl https://github.com/asdf-community/asdf-kubectl.git | ||
# - run: asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git | ||
# - run: asdf plugin-add rust https://github.com/asdf-community/asdf-rust.git | ||
|
||
- name: Update tooling | ||
uses: ericcornelissen/tool-versions-update-action/commit@v1 | ||
id: tooling | ||
with: | ||
max: 2 | ||
|
||
- name: Log tooling changes | ||
if: steps.tooling.outputs.did-update == 'true' | ||
run: git diff .tool-versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tool-versions |