Fix workflow
Some checks failed
CI / Check spelling (pull_request) Successful in 1m26s
CI / Linux (ubuntu) (pull_request) Failing after 23m37s
CI / Linux (fedora) (pull_request) Failing after 23m38s
CI / Linux (debian) (pull_request) Failing after 23m38s
CI / Linux (arch) (pull_request) Failing after 23m39s
CI / Check coding style (pull_request) Failing after 3m55s
Some checks failed
CI / Check spelling (pull_request) Successful in 1m26s
CI / Linux (ubuntu) (pull_request) Failing after 23m37s
CI / Linux (fedora) (pull_request) Failing after 23m38s
CI / Linux (debian) (pull_request) Failing after 23m38s
CI / Linux (arch) (pull_request) Failing after 23m39s
CI / Check coding style (pull_request) Failing after 3m55s
This commit is contained in:
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@@ -27,11 +27,13 @@ jobs:
|
||||
docker run profanity ./ci-build.sh
|
||||
|
||||
code-style:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
name: Check coding style
|
||||
continue-on-error: true
|
||||
env:
|
||||
GITHUB_WORKSPACE: ${{ runner.workspace }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
# if this check fails, you have to update the number of auto types known and the list of auto types in the check below
|
||||
- name: Check auto types are up-to-date
|
||||
run: |
|
||||
@@ -39,10 +41,16 @@ jobs:
|
||||
- name: Check auto types are initialized
|
||||
run: |
|
||||
grep -P 'auto_(char|gchar|gcharv|guchar|jid|sqlite|gfd|FILE)[\w *]*;$' -r src && exit -1 || true
|
||||
- name: Show workspace dir
|
||||
run: |
|
||||
echo "PWD: $(pwd)"
|
||||
echo "GITHUB_WORKSPACE: ${{ github.workspace }}"
|
||||
ls -l
|
||||
ls -l src || echo "src directory not found"
|
||||
- name: Run clang-format
|
||||
uses: jidicula/clang-format-action@v4.11.0
|
||||
uses: jidicula/clang-format-action@v4.15.0
|
||||
with:
|
||||
clang-format-version: '16'
|
||||
clang-format-version: '20'
|
||||
check-path: 'src'
|
||||
|
||||
spell-check:
|
||||
|
||||
Reference in New Issue
Block a user