Skip to content

Git Actions (#38)

Git Actions (#38) #2

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:

Check failure on line 13 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Navigate to project directory
working-directory: Module00/ex03/
run: pwd
- name: Configure CMake
run: |
mkdir build
cd build
cmake ..
- name: Build
run: |
cd build
make
- name: Run Tests
run: |
cd build
./PhoneBook < ../tests/test_input.txt