Fix workflow
Some checks failed
CI / Linux (debian) (pull_request) Successful in 13m59s
CI / Linux (fedora) (pull_request) Successful in 15m35s
CI / Linux (arch) (pull_request) Successful in 16m38s
CI / Check coding style (pull_request) Failing after 2m13s
CI / Check spelling (pull_request) Successful in 1m25s
CI / Linux (ubuntu) (pull_request) Successful in 16m2s
Some checks failed
CI / Linux (debian) (pull_request) Successful in 13m59s
CI / Linux (fedora) (pull_request) Successful in 15m35s
CI / Linux (arch) (pull_request) Successful in 16m38s
CI / Check coding style (pull_request) Failing after 2m13s
CI / Check spelling (pull_request) Successful in 1m25s
CI / Linux (ubuntu) (pull_request) Successful in 16m2s
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -27,11 +27,11 @@ jobs:
|
|||||||
docker run profanity ./ci-build.sh
|
docker run profanity ./ci-build.sh
|
||||||
|
|
||||||
code-style:
|
code-style:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
name: Check coding style
|
name: Check coding style
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
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
|
# 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
|
- name: Check auto types are up-to-date
|
||||||
run: |
|
run: |
|
||||||
@@ -39,10 +39,15 @@ jobs:
|
|||||||
- name: Check auto types are initialized
|
- name: Check auto types are initialized
|
||||||
run: |
|
run: |
|
||||||
grep -P 'auto_(char|gchar|gcharv|guchar|jid|sqlite|gfd|FILE)[\w *]*;$' -r src && exit -1 || true
|
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)"
|
||||||
|
ls -l
|
||||||
|
ls -l src || echo "src directory not found"
|
||||||
- name: Run clang-format
|
- name: Run clang-format
|
||||||
uses: jidicula/clang-format-action@v4.11.0
|
uses: jidicula/clang-format-action@v4.15.0
|
||||||
with:
|
with:
|
||||||
clang-format-version: '16'
|
clang-format-version: '20'
|
||||||
check-path: 'src'
|
check-path: 'src'
|
||||||
|
|
||||||
spell-check:
|
spell-check:
|
||||||
|
|||||||
Reference in New Issue
Block a user