Skip to content

PHPC-2537 Update to newer Ubuntu version in GitHub Actions workflows #1814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 11, 2025

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Apr 11, 2025

@GromNaN GromNaN requested a review from a team as a code owner April 11, 2025 11:03
@GromNaN GromNaN requested review from jmikola and removed request for a team April 11, 2025 11:03
@GromNaN GromNaN changed the base branch from v2.x to v1.21 April 11, 2025 11:03
@GromNaN GromNaN requested review from alcaeus and removed request for jmikola April 11, 2025 11:03
@@ -29,7 +29,7 @@ if [ -z "$CLANG_FORMAT" ]; then
exit
fi

VERSION=`$CLANG_FORMAT -version | cut -d " " -f 3`
VERSION=`$CLANG_FORMAT -version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing this issue after update to ubuntu-24.02

/home/runner/work/mongo-php-driver/mongo-php-driver/scripts/clang-format.sh: 35: [: Illegal number: version
src/phongo_client.c:1018:14: error: code should be clang-formatted [-Wclang-format-violations]
        bson_version   = "bundled";
                    ^
src/phongo_compat.h:175:9: error: code should be clang-formatted [-Wclang-format-violations]
                return );                                     \
                      ^
src/phongo_compat.h:175:12: error: code should be clang-formatted [-Wclang-format-violations]
                return );                                     \
                         ^
make: *** [Makefile:261: format-check] Error 1

@GromNaN GromNaN merged commit 94b1dd1 into mongodb:v1.21 Apr 11, 2025
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants