Releases: jiro4989/setup-nim-action
Releases · jiro4989/setup-nim-action
v2.2.2
v2.2.1
v2
Overview
setup-nim-action
has releasedv2
🎉- Removed dependency on choosenim
- Change GitHub Actions runtime to
composite
fromnode20
Migration to v2 from v1
- Upgrade version of
setup-nim-action
tov2
fromv1
- 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 usingactions/cache
- Remove caching
choosenim
if you are using it.
setup-nim-action does not use choosenim now.
Nothing to do if you are not cachingchoosenim
- Remove
yes
andno-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
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
v2.0.2
v2.0.1
v1.5.2
v1.5.1
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]>