From ce101c0cacfcf674b88af634b2e9a953c8b11466 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Wed, 27 Nov 2024 19:40:12 +1100 Subject: [PATCH] v1.0.0 Points to nim-stew#a6e198132097fb544d04959aeb3b839e1408f942 --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ stew_versioned.nimble | 10 ++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 stew_versioned.nimble diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d357986 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + workflow_dispatch: + +jobs: + check: + runs-on: ubuntu-latest + timeout-minutes: 30 + strategy: + matrix: + nim: [1.6.20, stable] + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install Nim + uses: iffy/install-nim@v4 + with: + version: ${{ matrix.nim }} + + - name: Nimble check + run: nimble check + + - name: Nimble install + run: nimble install -y + + status: + if: always() + needs: [check] + runs-on: ubuntu-latest + steps: + - if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }} + run: exit 1 diff --git a/stew_versioned.nimble b/stew_versioned.nimble new file mode 100644 index 0000000..7881d23 --- /dev/null +++ b/stew_versioned.nimble @@ -0,0 +1,10 @@ +# corresponds to what the dependent package version SHOULD BE, following the +# [semver spec](http://semver.org/) [with initial release at +# 1.0.0](https://docs.npmjs.com/about-semantic-versioning#incrementing-semantic-versions-in-published-packages). +version = "1.0.0" +author = "Status Research & Development GmbH" +description = "Backports, standard library candidates and small utilities that don't yet deserve their own repository" +license = "MIT" + +requires "nim >= 1.6.0" +requires "stew#a6e198132097fb544d04959aeb3b839e1408f942" \ No newline at end of file