From: Tom Hromatka Date: Wed, 5 Jan 2022 20:18:29 +0000 (-0700) Subject: github: Add continuous integration workflow X-Git-Tag: v3.1.0~308^2~2^2~110^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=338539357ee4eabaafb7b65996e07913949c6cc3;p=thirdparty%2Flibcgroup.git github: Add continuous integration workflow Add a continuous integration workflow that runs on Github Actions. Enable the python syntax errors action. Signed-off-by: Tom Hromatka --- diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml new file mode 100644 index 00000000..71b8b0c5 --- /dev/null +++ b/.github/workflows/continuous-integration.yml @@ -0,0 +1,30 @@ +# +# Continuous Integration Workflow for libcgroup-tests +# +# Copyright (c) 2022 Oracle and/or its affiliates. +# Author: Tom Hromatka +# + +# +# This library is free software; you can redistribute it and/or modify it +# under the terms of version 2.1 of the GNU Lesser General Public License as +# published by the Free Software Foundation. +# +# This library is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License +# for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this library; if not, see . +# + +name: Continuous Integration +on: ["push", "pull_request"] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: cclauss/Find-Python-syntax-errors-action@master