Skip to content

Create c-cpp.yml

Create c-cpp.yml #6

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "main" , "feature/*"]
pull_request:
branches: [ "main" , "feature/*"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup
run: apt install -y gcc make ruby-rspec-core
- name: Install gems
run: gem install bundle
run: bundle install

Check failure on line 20 in .github/workflows/c-cpp.yml

View workflow run for this annotation

GitHub Actions / C/C++ CI

Invalid workflow file

The workflow is not valid. .github/workflows/c-cpp.yml (Line: 20, Col: 7): 'run' is already defined
- name: make
run: make
- name: make test
run: make test
- name: make clean
run: make clean