nim-lang / bigints

BigInts for Nim
MIT License
124 stars 32 forks source link

Bump jiro4989/setup-nim-action from 1 to 2 #145

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps jiro4989/setup-nim-action from 1 to 2.

Release notes

Sourced from jiro4989/setup-nim-action's releases.

v2

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 caching choosenim
  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 }}
      </tr></table>

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)