Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 7 additions & 15 deletions .github/workflows/exercises.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,22 @@ jobs:
- nim: devel
os: linux

- nim: '1.6.0'
- nim: '1.6.x'
os: linux

name: nim-${{ matrix.nim }}-${{ matrix.os }}
runs-on: ${{ matrix.os == 'linux' && 'ubuntu-24.04' || (matrix.os == 'macOS' && 'macos-26' || 'windows-2022') }}
runs-on: ${{ matrix.os == 'linux' && 'ubuntu-26.04' || (matrix.os == 'macOS' && 'macos-26' || 'windows-2022') }}

steps:
- name: Checkout exercism/nim
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Install Nim (devel)
if: matrix.nim == 'devel'
uses: alaviss/setup-nim@f81f2a6d1505ab32f440ec9d8adbb81e949d3bf0 # 0.1.1
- name: Install Nim
uses: jiro4989/setup-nim-action@cb1fc1270b117457dd0d9f610ec981fad3369cec # v2.3.0
with:
path: 'nim'
version: ${{ matrix.nim }}

- name: Install Nim (non-devel)
if: matrix.nim != 'devel'
uses: iffy/install-nim@cceb6b4d10dcb1968575ac083d4981c0302fd00d # 5.1.1
with:
version: "binary:${{ matrix.nim }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
nim-version: "${{ matrix.nim }}"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble build -Y

- name: Show versions of Nim and Nimble
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-whitespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request, workflow_dispatch]
jobs:
lint_whitespace:
name: Lint whitespace
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request, workflow_dispatch]
jobs:
markdownlint:
name: Lint markdown files
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request, workflow_dispatch]
jobs:
shellcheck:
name: Run shellcheck on scripts
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/uuids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]

jobs:
check_uuids:
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
env:
NIM_VERSION: '2.2.4'

Expand Down
Loading