@@ -39,25 +39,27 @@ permissions: {}
3939
4040jobs :
4141 gha_python :
42+ if : ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }}
4243 name : ' GHA and Python'
4344 runs-on : ubuntu-latest
4445 permissions :
4546 security-events : write # To create/update security events
4647 steps :
47- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
48+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 .0.1
4849 with :
4950 persist-credentials : false
5051
5152 - name : ' initialize'
52- uses : github/codeql-action/init@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
53+ uses : github/codeql-action/init@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
5354 with :
5455 languages : actions, python
5556 queries : security-extended
5657
5758 - name : ' perform analysis'
58- uses : github/codeql-action/analyze@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
59+ uses : github/codeql-action/analyze@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
5960
6061 c :
62+ if : ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }}
6163 name : ' C'
6264 runs-on : ${{ matrix.platform == 'Linux' && 'ubuntu-latest' || 'windows-2022' }}
6365 permissions :
@@ -80,12 +82,12 @@ jobs:
8082 libnghttp2-dev libldap-dev libkrb5-dev librtmp-dev libgnutls28-dev libwolfssl-dev
8183 HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install c-ares gsasl libnghttp3 libngtcp2 mbedtls rustls-ffi
8284
83- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
85+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 .0.1
8486 with :
8587 persist-credentials : false
8688
8789 - name : ' initialize'
88- uses : github/codeql-action/init@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
90+ uses : github/codeql-action/init@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
8991 with :
9092 languages : cpp
9193 build-mode : manual
@@ -106,29 +108,27 @@ jobs:
106108
107109 # MultiSSL
108110 export PKG_CONFIG_PATH; PKG_CONFIG_PATH="$(brew --prefix c-ares)/lib/pkgconfig:$(brew --prefix mbedtls)/lib/pkgconfig:$(brew --prefix rustls-ffi)/lib/pkgconfig:$(brew --prefix gsasl)/lib/pkgconfig"
109- cmake -B _bld1 -G Ninja -DENABLE_DEBUG=ON \
111+ cmake -B _bld1 -G Ninja -DCURL_DISABLE_TYPECHECK=ON - DENABLE_DEBUG=ON \
110112 -DCURL_USE_GNUTLS=ON -DCURL_USE_MBEDTLS=ON -DCURL_USE_RUSTLS=ON -DCURL_USE_WOLFSSL=ON \
111113 -DUSE_LIBRTMP=ON -DCURL_USE_GSASL=ON -DCURL_USE_GSSAPI=ON -DUSE_SSLS_EXPORT=ON -DUSE_ECH=ON -DENABLE_ARES=ON \
112114 -DCURL_DISABLE_VERBOSE_STRINGS=ON
113115 cmake --build _bld1
114- cmake --build _bld1 --target curlinfo
115- cmake --build _bld1 --target servers
116- cmake --build _bld1 --target tunits
117- cmake --build _bld1 --target units
116+ cmake --build _bld1 --target testdeps
118117 cmake --build _bld1 --target curl-examples-build
119118
120119 # HTTP/3
121120 export PKG_CONFIG_PATH; PKG_CONFIG_PATH="$(brew --prefix libnghttp3)/lib/pkgconfig:$(brew --prefix libngtcp2)/lib/pkgconfig:$(brew --prefix gsasl)/lib/pkgconfig"
122- cmake -B _bld2 -G Ninja \
121+ cmake -B _bld2 -G Ninja -DCURL_DISABLE_TYPECHECK=ON \
123122 -DCURL_USE_OPENSSL=ON -DOPENSSL_ROOT_DIR="$(brew --prefix openssl)" -DUSE_NGTCP2=ON \
124123 -DCURL_USE_LIBSSH2=OFF -DCURL_USE_LIBSSH=ON \
125124 -DUSE_LIBRTMP=ON -DCURL_USE_GSASL=ON -DCURL_USE_GSSAPI=ON -DUSE_SSLS_EXPORT=ON
126125 cmake --build _bld2
127- cmake --build _bld2 --target servers
126+ cmake --build _bld2 --target testdeps
127+ cmake --build _bld2 --target curl-examples-build
128128
129129 _bld1/src/curl --disable --version
130130 _bld2/src/curl --disable --version
131131 fi
132132
133133 - name : ' perform analysis'
134- uses : github/codeql-action/analyze@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
134+ uses : github/codeql-action/analyze@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
0 commit comments