diff --git a/.github/workflows/exercises.yml b/.github/workflows/exercises.yml index 7b7260ad..089b1f9e 100644 --- a/.github/workflows/exercises.yml +++ b/.github/workflows/exercises.yml @@ -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: | diff --git a/.github/workflows/lint-whitespace.yml b/.github/workflows/lint-whitespace.yml index 513541c4..abbac004 100644 --- a/.github/workflows/lint-whitespace.yml +++ b/.github/workflows/lint-whitespace.yml @@ -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 diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index a9bac53f..a313d7d9 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -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 diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index b10f15fd..a7613def 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -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 diff --git a/.github/workflows/uuids.yml b/.github/workflows/uuids.yml index 9618f523..64fc3fbd 100644 --- a/.github/workflows/uuids.yml +++ b/.github/workflows/uuids.yml @@ -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'