Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): update jiro4989/setup-nim-action action to v2 #84

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 6, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
jiro4989/setup-nim-action action major v1 -> v2

Release Notes

jiro4989/setup-nim-action (jiro4989/setup-nim-action)

v2

Compare Source

Overview
  • setup-nim-action has released v2 🎉
  • Removed dependency on choosenim
  • Change GitHub Actions runtime to composite from node20
Migration to v2 from v1
  1. Upgrade version of setup-nim-action to v2 from v1
  2. Change cache key to clear cache if you are using it.
    The key can be anything if the cache will be cleared.
    Nothing to do if you are not using actions/cache
  3. Remove caching choosenim if you are using it.
    setup-nim-action does not use choosenim now.
    Nothing to do if you are not these parameters
  4. Remove yes and no-color parameters if you are using it.
    These parameters are not used now.
    Nothing to do if you are not these parameters
 steps:
   - uses: actions/checkout@v3

   - name: Cache nimble
     id: cache-nimble
     uses: actions/cache@v3
     with:
       path: ~/.nimble
-      key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
+      key: ${{ runner.os }}-nimble-v2-${{ hashFiles('*.nimble') }}
       restore-keys: |
-        ${{ runner.os }}-nimble-
+        ${{ runner.os }}-nimble-v2-
     if: runner.os != 'Windows'

-  - name: Cache choosenim
-    id: cache-choosenim
-    uses: actions/cache@v3
-    with:
-      path: ~/.choosenim
-      key: ${{ runner.os }}-choosenim-${{ matrix.cache-key }}-${{ steps.get-date.outputs.date }}
-      restore-keys: |
-        ${{ runner.os }}-choosenim-${{ matrix.cache-key }}-

-  - uses: jiro4989/setup-nim-action@v1
+  - uses: jiro4989/setup-nim-action@v2
     with:
       nim-version: '2.0.0' # default is 'stable'
       repo-token: ${{ secrets.GITHUB_TOKEN }}
-      yes: false
-      no-color: yes
   - run: nimble build -Y
   - run: nimble test -Y

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label Jul 6, 2024
@jonahsnider jonahsnider merged commit 11b4281 into main Jul 10, 2024
10 checks passed
@jonahsnider jonahsnider deleted the renovate/jiro4989-setup-nim-action-2.x branch July 10, 2024 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant