Skip to content

added build and test in action #1

added build and test in action

added build and test in action #1

name: check-for-linter

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

View workflow run for this annotation

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

Invalid workflow file

(Line: 16, Col: 9): Unexpected value '-name', (Line: 17, Col: 9): Unexpected value 'uses', (Line: 19, Col: 9): '-name' is already defined, (Line: 20, Col: 9): Unexpected value 'run', (Line: 22, Col: 9): '-name' is already defined, (Line: 23, Col: 9): 'run' is already defined, (Line: 25, Col: 9): '-name' is already defined, (Line: 26, Col: 9): 'run' is already defined
on:
push:
branches: main
pull_request:
branches: main
jobs:
build:
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