Initial commit: My first action!

This commit is contained in:
Whisperity
2021-11-27 11:18:56 +01:00
commit 392c4c852c
4 changed files with 53 additions and 0 deletions

16
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: 'Action test'
on:
push:
branches:
- master
jobs:
ubuntu_2004:
name: "Ubuntu Linux 20.04"
runs-on: ubuntu-20.04
steps:
- name: "Test action"
uses: whisperity/codechecker-analysis-action@master
with:
version: "test"

7
LICENSE Normal file
View File

@@ -0,0 +1,7 @@
Copyright 2021 Whisperity
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

15
README.md Normal file
View File

@@ -0,0 +1,15 @@
# [CodeChecker](http://github.com/Ericsson/CodeChecker/) C++ static analysis action
GitHub Action to execute static analysis over C-family projects (C, C++,
Objective-C) using the [Clang](http://clang.llvm.org/) infrastructure and
[CodeChecker](http://github.com/Ericsson/CodeChecker/) as its driver.
## Overview
## Action configuration
~~~{.yaml}
~~~

15
action.yml Normal file
View File

@@ -0,0 +1,15 @@
name: 'CodeChecker Static Analysis'
author: 'Whisperity'
description: 'Execute C/C++ static analysis of LLVM/Clang (Clang Static Analyzer and Clang-Tidy) driven via CodeChecker.'
inputs:
version:
description: 'The version of the CodeChecker suite to obtain and execute. Might be a Git commit SHA, a branch name, or a tag.'
required: true
default: 'master'
runs:
using: "composite"
steps:
- name: "Test"
run: |
echo "Foo"
echo ${{ inputs.version }}