Skip to content

v2.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Aug 13:15
32e8e54

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