Skip to content

build(deps): bump DavidAnson/markdownlint-cli2-action from 11.0.0 to 12.0.0 #633

build(deps): bump DavidAnson/markdownlint-cli2-action from 11.0.0 to 12.0.0

build(deps): bump DavidAnson/markdownlint-cli2-action from 11.0.0 to 12.0.0 #633

Workflow file for this run

name: exercises
on: [push, pull_request]
jobs:
exercises:
strategy:
fail-fast: false
matrix:
include:
- nim: '2.0.0'
os: linux
- nim: '2.0.0'
os: macOS
- nim: '2.0.0'
os: windows
- nim: devel
os: linux
- nim: '1.6.0'
os: linux
name: nim-${{ matrix.nim }}-${{ matrix.os }}
runs-on: ${{ matrix.os == 'linux' && 'ubuntu-22.04' || (matrix.os == 'macOS' && 'macos-12' || 'windows-2022') }}
steps:
- name: Checkout exercism/nim
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Install Nim (devel)
if: matrix.nim == 'devel'
uses: alaviss/setup-nim@f81f2a6d1505ab32f440ec9d8adbb81e949d3bf0 # 0.1.1
with:
path: 'nim'
version: ${{ matrix.nim }}
- name: Install Nim (non-devel)
if: matrix.nim != 'devel'
uses: iffy/install-nim@ac410af52523f06e0fa037ee81d06ead7b95692c
with:
version: "binary:${{ matrix.nim }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Show versions of Nim and Nimble
run: |
nim --version
printf '\n\n\n\n'
nimble --version
- name: Compile `check_exercises.nim`
run: nim c --styleCheck:error _test/check_exercises.nim
- name: Run `check_exercises`
run: _test/check_exercises
- name: Compile `check_stubs.nim`
run: nim c --styleCheck:error _test/check_stubs.nim
- name: Run `check_stubs`
run: _test/check_stubs