.github: bump actions/checkout from 4.1.0 to 4.1.4 (#872) #7
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b | |
- name: Configure the git user # Required to create a commit in our binary tests | |
run: | | |
git config --global user.email "66069679+exercism-bot@users.noreply.github.com" | |
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@c76b9157e544576bf61c932ee66ff3c7d194deb9 | |
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 |