Skip to content

Create formatting-check.yml #112

Create formatting-check.yml

Create formatting-check.yml #112

Workflow file for this run

name: Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
Docker:
name: "Check whether docker setup, build, test work correctly."
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker Setup
run: make docker-setup
- name: Docker Tests
run: make docker-test
Documentation:
name: Doxygenize
#Only run for push to main
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Doxygenize
uses: langroodi/[email protected]
with:
# Doxygen configuration file path
doxygenconf: ./docs/Doxyfile
# Generated HTML documents output folder
htmloutput: ./generateddocs/html
# GitHub Pages branch name
ghpagesbranch: gh-pages
# GitHub Pages directory path
ghpagesdir: ./docs
Linting:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master