doc: Bump macOS to 15.1.1
(24B91
)
#249
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: test | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the master branch. | |
push: | |
branches: | |
- master | |
pull_request: | |
# Note: 'branches' and 'branches-ignore' are target PR branches | |
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags | |
# "For a 'pull_request' event, only branches and tags on the base are evaluated." | |
branches: | |
- "*" | |
jobs: | |
test: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Homebrew install packages | |
run: | | |
set -x | |
bash -c 'echo $BASH_VERSION' | |
brew --version | |
brew --prefix | |
make --version | |
set +x | |
brew bundle | |
- name: Run lint checks | |
run: | | |
make lint | |
- name: Run tests | |
run: | | |
# Extend PATH to always use Coreutils supplied utilities first. | |
export PATH="$(brew --prefix)/opt/coreutils/libexec/gnubin:/usr/local/bin:/usr/local/sbin:${PATH}" | |
declare -p PATH | |
# Print versions | |
set -x | |
unzip -v | |
wget --version | |
set +x | |
# Should be picked from `coreutils` package | |
set -x | |
which cp dirname mkdir mktemp mv realpath rm | |
set +x | |
# | |
make test |