Skip to content

added build and test in action #2

added build and test in action

added build and test in action #2

name: check-for-linter
on:
push:
branches: main
pull_request:
branches: main
jobs:
build:

Check failure on line 9 in .github/workflows/check-for-linter.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check-for-linter.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
- name: Checkout code
uses: actions/checkout@v4
- name: Install project
run: make install
- name: Validate files for linter
run: make lint
- name: Run unit tests
run: make test