ci: speedup the Tests workflow in GitHub Actions

Don't build with Nim v1.4, building with v1.2 and v1.6 should be enough.

Don't manually run `brew update` because `brew` will automatically do that on
an as-needed basis when running `brew install`.
This commit is contained in:
Michael Bradley, Jr 2022-07-04 22:37:28 -05:00 committed by Michael Bradley
parent 0c5d805257
commit 1a1a1ac642
1 changed files with 7 additions and 8 deletions

View File

@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
cache_nonce: [ 1 ]
nim_version: [ 1.2.18, 1.4.8, 1.6.6 ]
nim_version: [ 1.2.18, 1.6.6 ]
platform:
- {
icon: 🐧,
@ -40,17 +40,16 @@ jobs:
shell: ${{ matrix.platform.shell }} {0}
steps:
# - name: Install tools and libraries via APT (Linux)
# if: matrix.platform.os == 'ubuntu'
# run: |
# sudo apt update
# sudo apt install -y \
# ...
- name: Install tools and libraries via APT (Linux)
if: matrix.platform.os == 'ubuntu'
run: |
# sudo apt update
# sudo apt install -y \
# ...
- name: Install tools and libraries via Homebrew (macOS)
if: matrix.platform.os == 'macos'
run: |
brew update
brew install \
findutils