This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
doc: update README #114
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: Makefile CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
TRACE: 0 | |
jobs: | |
tests: | |
name: '[bash-utils] Test on ${{ matrix.os }}' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- { os: ubuntu-latest } | |
- { os: macos-latest } | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies ${{ matrix.os }} | |
run: make dependencies | |
- name: Check format bash code ${{ matrix.os }} | |
run: make fmt-check | |
- name: Check lint bash code ${{ matrix.os }} | |
run: make lint-check | |
- name: Check typos ${{ matrix.os }} | |
run: make typos | |
- name: Add symlink to scripts in path ${{ matrix.os }} | |
run: make symlink | |
- name: Run tests ${{ matrix.os }} | |
run: source ~/.bash_profile; make tests |