Paolo Tranquilli
239b6d8c8e
Merge branch 'main' into redsun82/kotlin
2024-05-06 17:24:53 +02:00
Paolo Tranquilli
92b3eda12d
Bazel: move buildifier out of root BUILD
...
See https://github.com/github/codeql/pull/16428 for details as to why
this is necessary.
2024-05-06 16:00:05 +02:00
Paolo Tranquilli
bab2dd4427
Go: bring back make and CI changes
...
This reverts commit 12b9b805e2 .
2024-05-06 14:56:21 +02:00
Paolo Tranquilli
1aafc377ad
Revert "Go: write test go runtime version in a specific file"
...
This reverts commit abcd9165b4 .
2024-05-02 16:22:24 +02:00
Paolo Tranquilli
abcd9165b4
Go: write test go runtime version in a specific file
2024-05-02 16:09:11 +02:00
Paolo Tranquilli
12b9b805e2
Go: revert changes to make and CI to postpone them in a separate PR
2024-05-02 12:37:47 +02:00
Paolo Tranquilli
2f6dd2ab81
Go: refactor workflows with shared action
2024-04-29 11:12:48 +02:00
Paolo Tranquilli
d66494dcb0
Go: update go-tests-other-os.yml
2024-04-26 17:03:56 +02:00
Paolo Tranquilli
86d6b8ef21
Go: put back go setup
2024-04-26 16:54:14 +02:00
Paolo Tranquilli
d98ccdfa06
Go: update workflow
2024-04-26 16:02:22 +02:00
Paolo Tranquilli
1e622e168c
Merge branch 'main' into redsun82/kotlin
2024-04-25 11:05:19 +02:00
Paolo Tranquilli
196b6d7a1d
CI: simplify reporting
2024-04-24 16:43:38 +02:00
Paolo Tranquilli
9def57250d
CI: make reporting better
2024-04-24 16:35:50 +02:00
Paolo Tranquilli
9af9873e04
CI: add names to steps
2024-04-24 16:20:54 +02:00
Paolo Tranquilli
9f5782b67b
Bazel: introduce buildifier formatting
...
This introduces tooling and enforcement for formatting bazel files.
The tooling is provided as a bazel run target from
[keith/buildifier-prebuilt](https://github.com/keith/buildifier-prebuilt ).
This is used in a [`pre-commit`](https://pre-commit.com/ ) hook for those
having that installed. In turn this is used in a CI check. Relying on a
`pre-commit` action gives us easy checking that buildifying did not
change anything in the files and printing the diff, without having to
hand-roll the check ourselves.
This enforcement will make usage of gazelle easier, as gazelle itself
might reformat files, even outside of `go`. Having them properly
formatted will allow gazelle to leave them unchanged, without needing
to configure awkward exclude directives.
2024-04-24 15:49:48 +02:00
Paolo Tranquilli
3678e51f0b
Merge branch 'main' into redsun82/kotlin
2024-04-17 15:09:27 +02:00
Henry Mercer
8747438613
JS: Remove ML-powered queries
2024-04-15 17:35:32 +01:00
Paolo Tranquilli
92a5f3da75
Merge branch 'main' into redsun82/kotlin
2024-04-12 16:02:39 +02:00
Paolo Tranquilli
de4ffbb552
Swift: add shared/** to CI triggers
...
Not being triggered by changes in shared was making it possible to not
notice changes in `shared` having effect on Swift tests. For example
[this PR](https://github.com/github/codeql/pull/15501 ) introduced a
test change that was fixed [here](https://github.com/github/codeql/pull/16197 ).
2024-04-12 15:46:01 +02:00
Paolo Tranquilli
2d16192bab
CI: fix typo in kotlin-build.yml
2024-04-12 11:19:43 +02:00
Paolo Tranquilli
9c3a615794
CI: add non-blocking kotlin extractor build check
...
This is to check that the build from `codeql` works. The "official"
build will still be checked from the internal repo with QLucie, once
we integrate the bazel build there.
2024-04-12 10:59:17 +02:00
Calum Grant
03bf804a68
Add C++ analysis in separate workflow
2024-03-27 11:44:58 +00:00
Ian Lynagh
86b4f27d12
CI: Kotlin: Label Kotlin test changes as "Kotlin"
2024-03-01 11:26:56 +00:00
Cornelius Riemenschneider
b82ffd40e7
Fix windows CI build.
...
As we're now checking out the `codeql` repo in a sub-path,
we need to enable long paths on Windows.
2024-02-26 11:21:23 +00:00
Cornelius Riemenschneider
fd85c44129
Ruby: Start building the language pack using bazel.
...
This PR introduces a bazel and `rules_rust`-based build system
for the ruby extractor and language pack.
This replacese the existing, `cargo` and `cross`-based build system.
For local development, nothing changes, and the existing `cargo`-based
build still keeps working as-is.
We no longer need to use `cross` to compile our Linux binaries,
as we now can link against our hermetic C++ toolchain, which ships
with an old enough glibc, so that we don't run into symbol version issues
when deploying the binaries to older systems.
Besides the one change in dependency (explained in detail in `Cargo.toml`
and in https://github.com/github/codeql/pull/15595 ), nothing ought to
change in how we build the extractor.
2024-02-26 11:21:22 +00:00
Anders Schack-Mulligen
dab8e237e6
Workflows: Run format check on shared.
2024-02-26 11:33:00 +01:00
Michael B. Gale
0ad04d45a9
Disable setup-go caching
2024-02-16 17:48:12 +00:00
Michael B. Gale
91ed7a8d79
Go: Use 1.22 in CI
2024-02-16 17:33:23 +00:00
Angela P Wen
c75111619e
Add security-events: write permission
2024-02-16 02:17:17 -08:00
Tamas Vajk
89384bb855
Extend permissions in csv-coverage-update.yml
2024-02-16 10:19:16 +01:00
Josh Soref
b58c856756
Declare permissions
...
Repositories can be configured with Default access (restricted)
https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
Best practice says that workflows should declare the minimal permissions they require.
Without declaring permissions, paranoid forks fail miserably.
2024-02-14 14:31:45 -05:00
Josh Soref
e468f4062f
use github/codeql-action...@main
2024-02-14 14:31:31 -05:00
Óscar San José
96ed6597dd
Merge branch 'main' into github-only
2024-02-14 10:23:39 +01:00
Josh Soref
a128161746
Use !cancelled in qhelp-pr-preview workflow
2024-02-12 16:59:42 -05:00
Josh Soref
6779c667f6
Limit xl runner jobs to github org
2024-02-12 05:00:49 -05:00
Michael Nebel
9a6751a6dd
C#: Update the RuntimeFrameworkVersion to 8.0.1.
2024-01-31 09:27:37 +01:00
Henti Smith
612256b760
Updated dotnet to 8.0.101
...
This is a corresponding PR to https://github.com/github/semmle-code/pull/48786
2024-01-30 16:23:07 +00:00
Paolo Tranquilli
33b6ce7365
Swift: update formatting to clang-format 17.0.6
...
Also, added a format check in `swift.yml`.
2024-01-25 13:58:14 +01:00
Michael Nebel
04a724f373
Java: Update the model diff workflow.
2024-01-05 11:28:47 +01:00
Michael Nebel
8fe73f72cc
Java: Trigger Models as Data diff workflow on changes to the shared scripts.
2024-01-05 09:22:49 +01:00
Owen Mansel-Chan
9cb0bb2fc9
Merge pull request #15034 from github/dependabot/github_actions/actions/setup-go-5
...
Bump actions/setup-go from 4 to 5
2023-12-14 14:14:03 +00:00
Michael Nebel
7006d00702
Merge pull request #14892 from michaelnebel/csharp/dotnet8
...
C#: Use .NET 8
2023-12-11 13:53:35 +01:00
Michael Nebel
0df9dcb0fd
C#: Update workflow files to also install .NET 8.
2023-12-11 10:57:43 +01:00
dependabot[bot]
e822fe975d
Bump actions/stale from 8 to 9
...
Bumps [actions/stale](https://github.com/actions/stale ) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v8...v9 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-08 03:10:16 +00:00
dependabot[bot]
3d7ab2e0b0
Bump actions/setup-go from 4 to 5
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-07 03:43:13 +00:00
Chuan-kai Lin
ba57a0363c
Revert "Bump actions/labeler from 4 to 5"
2023-12-05 12:09:56 -08:00
Henti Smith
33a0de07b6
Merge pull request #15002 from github/dependabot/github_actions/actions/setup-dotnet-4
...
Bump actions/setup-dotnet from 3 to 4
2023-12-05 15:35:00 +00:00
dependabot[bot]
eb08a508c9
Bump actions/labeler from 4 to 5
...
Bumps [actions/labeler](https://github.com/actions/labeler ) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases )
- [Commits](https://github.com/actions/labeler/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/labeler
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-05 03:33:07 +00:00
dependabot[bot]
4d68beffe0
Bump actions/setup-dotnet from 3 to 4
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-05 03:33:03 +00:00
Owen Mansel-Chan
00ba7e42b1
Merge pull request #14613 from owen-mc/change-note-check-on-shared
...
Update `Change-note-check` workflow to detect changes in shared folder
2023-10-27 11:45:03 +01:00