Skip to content

More github actions playing #19

More github actions playing

More github actions playing #19

Workflow file for this run

on: [push]

Check failure on line 1 in .github/workflows/github-actions.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-actions.yml

Invalid workflow file

You have an error in your yaml syntax on line 1
schedule:
- cron: "0 0 * * *"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install cpplint
- run: |
cpplint --verbose=0 src/statistics.h
build-and-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build code
run: |
mkdir build
cd build
cmake ..
make
- name: Run tests
run: |
cd build
./stats_test