lint, fmt: support tags
for approaches and concepts
#2070
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
paths: | |
- "**" | |
- "!**.md" | |
pull_request: | |
paths: | |
- "**" | |
- "!**.md" | |
workflow_dispatch: | |
jobs: | |
all_tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: linux | |
runs-on: ubuntu-22.04 | |
arch: x86-64 | |
- os: macos | |
runs-on: macos-12 | |
arch: x86-64 | |
- os: windows | |
runs-on: windows-2022 | |
arch: x86-64 | |
name: "${{ matrix.os }}-${{ matrix.arch }}" | |
runs-on: ${{ matrix.runs-on }} | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
- name: Configure the git user # Required to create a commit in our binary tests | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Exercism Bot" | |
- name: On Linux, install musl | |
if: matrix.os == 'linux' | |
run: ./.github/bin/linux-install-musl | |
- name: Install Nim | |
uses: iffy/install-nim@96e44cd5d6df83f65cd844a8631e8301944bc958 | |
with: | |
version: "binary:2.0.0" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install our Nimble dependencies | |
run: nimble --accept install --depsOnly | |
- name: Run our test suite | |
run: nimble test |