pre-commit-ci / issues

public issues for https://pre-commit.ci
17 stars 4 forks source link

clang-format failing on CI #210

Closed louwers closed 7 months ago

louwers commented 7 months ago

https://results.pre-commit.ci/run/github/314553426/1713872224.G8aEbWyHTRCpH42bC6nwfg

build attempt 1...
    => error
    An error has occurred: InvalidManifestError: 
    ==> File /pc/clone/7k5ri7XzTaOmtOEiJ581qA/.pre-commit-hooks.yaml
    ==> At Hook(id='clang-format')
    ==> At key: types_or
    ==> At index 10
    =====> Type tag 'metal' is not recognized.  Try upgrading identify and pre-commit?
    Check the log at /pc/pre-commit.log
build attempt 2...
    => error
    An error has occurred: InvalidManifestError: 
    ==> File /pc/clone/7k5ri7XzTaOmtOEiJ581qA/.pre-commit-hooks.yaml
    ==> At Hook(id='clang-format')
    ==> At key: types_or
    ==> At index 10
    =====> Type tag 'metal' is not recognized.  Try upgrading identify and pre-commit?
    Check the log at /pc/pre-commit.log

Runs fine locally.

Here is our .pre-commit-config.yaml: https://github.com/maplibre/maplibre-native/blob/229bb4ba58cfddd89c1369435ae1f6cfe9aff5f4/.pre-commit-config.yaml

I cannot inspect the log on CI.

asottile commented 7 months ago

duplicate here: https://github.com/pre-commit-ci/runner-image/issues/257