Skip to content

Releases: jiro4989/setup-nim-action

v2.2.2

15 Sep 16:05
3a60cf0
Compare
Choose a tag to compare

v2.2.2: PR #509 - fix: change logging date format

v2.2.1

15 Sep 14:46
29ac0d5
Compare
Choose a tag to compare

v2.2.1: PR #506 - Use the latest-devel tag for getting nightlies

v2

06 Jul 01:14
3a60cf0
Compare
Choose a tag to compare
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 }}
-      yes: false
-      no-color: yes
   - run: nimble build -Y
   - run: nimble test -Y

v2.2.0

13 Aug 13:15
32e8e54
Compare
Choose a tag to compare

v2.2.0: PR #505 - feat: add use-nightlies parameter #504

Building the devel compiler takes a long time. If you don't want to build it every time, set use-nightlies to true.
This parameter makes your CI fast.

jobs:
  test_devel:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Cache nimble
        id: cache-nimble
        uses: actions/cache@v4
        with:
          path: ~/.nimble
          key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
          restore-keys: |
            ${{ runner.os }}-nimble-

      - uses: jiro4989/setup-nim-action@v2
        with:
          nim-version: devel
          use-nightlies: true
          repo-token: ${{ secrets.GITHUB_TOKEN }}

      - run: nimble build -Y

v2.1.0

08 Jul 16:03
8556811
Compare
Choose a tag to compare

v2.1.0: PR #500 - fix: can not change nim-install-directory to non-current directory #499

v2.0.2

08 Jul 11:30
1b7e243
Compare
Choose a tag to compare

v2.0.2: PR #497 - fix: get exact version of stable

v2.0.1

06 Jul 02:04
004cfea
Compare
Choose a tag to compare

v2.0.1: PR #493 - chore: delete unused files for typescript #492

v1.5.2

29 Jun 07:14
2af8a1a
Compare
Choose a tag to compare

v1.5.2: PR #485 - fix: Slow installation #483

v1.5.1

26 Feb 16:14
f6b28cf
Compare
Choose a tag to compare
chore(deps-dev): bump @types/node from 20.11.5 to 20.11.20 (#449)

* chore(deps-dev): bump @types/node from 20.11.5 to 20.11.20

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.5 to 20.11.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* npm ci

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: jiro4989 <[email protected]>

v1.5.0

09 Dec 07:29
8674364
Compare
Choose a tag to compare

Feature

  • Upgrade GitHub Actions runtime version. (node16 → node20) #419