Skip to content

Add action to build and test using more Ubuntu releases #4

Add action to build and test using more Ubuntu releases

Add action to build and test using more Ubuntu releases #4

Workflow file for this run

name: Cppcheck
on:
push:
branches:
- master
pull_request:
types:
- opened
permissions:
contents: read
env:
DEBIAN_FRONTEND: noninteractive
TZ: Europe/Oslo
jobs:
cppcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Cppcheck
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends cppcheck
- name: Run Cppcheck
run: cppcheck --error-exitcode=1 src/*.c