Skip to content

Merge branch 'main' into tests-on-github-actions #299

Merge branch 'main' into tests-on-github-actions

Merge branch 'main' into tests-on-github-actions #299

Workflow file for this run

name: CI
on: push
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- name: Install mdl gem
run: gem install mdl
- name: Run Markdown Lint
run: mdl --git-recurse .
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
# Replace some binaries with a script that exits quickly, otherwise the build will time out or fail.
- name: Mock binaries
run: |
mkdir $HOME/bin
printf '#!'"/usr/bin/env bash\necho 'mas is overridden'" > $HOME/bin/mas
chmod +x $HOME/bin/mas
- name: Update PATH
run: |
echo "$HOME/bin" >> $GITHUB_PATH
- name: Unlink
run: |
rm '/usr/local/bin/aws'
rm '/usr/local/bin/aws_completer'
- run: make