mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-31 15:16:12 +00:00
change input name to avoid env var clash in Windows; add correct version args into coverage
This commit is contained in:
parent
e5586f3970
commit
ec9a9125d3
@ -12,7 +12,7 @@ inputs:
|
|||||||
nim_version:
|
nim_version:
|
||||||
description: "Nim version"
|
description: "Nim version"
|
||||||
default: "version-1-6"
|
default: "version-1-6"
|
||||||
nim_repo:
|
nim_repo_url:
|
||||||
description: "Nim compiler repository"
|
description: "Nim compiler repository"
|
||||||
default: "https://github.com/nim-lang/Nim"
|
default: "https://github.com/nim-lang/Nim"
|
||||||
shell:
|
shell:
|
||||||
@ -166,7 +166,7 @@ runs:
|
|||||||
# FIXME: drop this once https://github.com/nim-lang/Nim/issues/23214 gets upstreamed/backported
|
# FIXME: drop this once https://github.com/nim-lang/Nim/issues/23214 gets upstreamed/backported
|
||||||
- name: Set NIM_REPO
|
- name: Set NIM_REPO
|
||||||
shell: ${{ inputs.shell }} {0}
|
shell: ${{ inputs.shell }} {0}
|
||||||
run: echo "NIM_REPO=${{ inputs.nim_repo }}" >> ${GITHUB_ENV}
|
run: echo "NIM_REPO=${{ inputs.nim_repo_url }}" >> ${GITHUB_ENV}
|
||||||
|
|
||||||
- name: Build Nim and Codex dependencies
|
- name: Build Nim and Codex dependencies
|
||||||
shell: ${{ inputs.shell }} {0}
|
shell: ${{ inputs.shell }} {0}
|
||||||
|
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -9,7 +9,7 @@ env:
|
|||||||
cache_nonce: 0 # Allows for easily busting actions/cache caches
|
cache_nonce: 0 # Allows for easily busting actions/cache caches
|
||||||
# FIXME: change this once https://github.com/nim-lang/Nim/issues/23214 gets upstreamed/backported
|
# FIXME: change this once https://github.com/nim-lang/Nim/issues/23214 gets upstreamed/backported
|
||||||
nim_version: f45bdea94ac4ed9a9bae03426275456aeb0cab2a
|
nim_version: f45bdea94ac4ed9a9bae03426275456aeb0cab2a
|
||||||
nim_repo: "https://github.com/gmega/Nim"
|
nim_repo_url: https://github.com/gmega/Nim
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
@ -60,7 +60,7 @@ jobs:
|
|||||||
os: ${{ matrix.os }}
|
os: ${{ matrix.os }}
|
||||||
shell: ${{ matrix.shell }}
|
shell: ${{ matrix.shell }}
|
||||||
nim_version: ${{ env.nim_version }}
|
nim_version: ${{ env.nim_version }}
|
||||||
nim_repo: ${{ env.nim_repo}}
|
nim_repo_url: ${{ env.nim_repo_url }}
|
||||||
|
|
||||||
## Part 1 Tests ##
|
## Part 1 Tests ##
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
@ -106,6 +106,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
os: linux
|
os: linux
|
||||||
nim_version: ${{ env.nim_version }}
|
nim_version: ${{ env.nim_version }}
|
||||||
|
nim_repo_url: ${{ env.nim_repo_url }}
|
||||||
|
|
||||||
- name: Generate coverage data
|
- name: Generate coverage data
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user