diff --git a/.github/workflows/generate_doc.yaml b/.github/workflows/generate_doc.yaml index e00910dc..a6aec8ae 100644 --- a/.github/workflows/generate_doc.yaml +++ b/.github/workflows/generate_doc.yaml @@ -35,17 +35,3 @@ jobs: lkmpg-html.tar.gz tag_name: "latest" prerelease: true - - validate: - runs-on: ubuntu-20.04 - steps: - - name: checkout code - uses: actions/checkout@v2 - - name: validate coding style and functionality - run: | - sudo apt-get install -q -y clang-format-11 - sudo apt-get install -q -y cppcheck - .ci/check-format.sh - .ci/static-analysis.sh - .ci/build-n-run.sh - shell: bash diff --git a/.github/workflows/status-check.yaml b/.github/workflows/status-check.yaml new file mode 100644 index 00000000..125da46e --- /dev/null +++ b/.github/workflows/status-check.yaml @@ -0,0 +1,24 @@ +name: build-deploy-assets + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + + workflow_dispatch: + +jobs: + validate: + runs-on: ubuntu-20.04 + steps: + - name: checkout code + uses: actions/checkout@v2 + - name: validate coding style and functionality + run: | + sudo apt-get install -q -y clang-format-11 + sudo apt-get install -q -y cppcheck + .ci/check-format.sh + .ci/static-analysis.sh + .ci/build-n-run.sh + shell: bash