Cornelius Riemenschneider
1bd7aef1b2
Fix search paths.
...
It turns out we still need to supply this option, so `codeql` goes looking
for the extractor paths specified in the `codeql-workspace.yml` file.
2024-06-03 16:33:17 +02:00
Cornelius Riemenschneider
b67309299f
C#: Unified handling of in-tree extractor packs.
2024-06-03 16:07:13 +02:00
Cornelius Riemenschneider
8f207e7a06
Add dotnet tool restore to local CI.
2024-05-15 14:16:47 +02:00
Cornelius Riemenschneider
869bf8afc6
C++/C#: Move the Windows autobuilder into a subfolder in ql/csharp.
...
This is a necessary preparation for moving the C# dependency management to `paket`,
which in turn is a necessary preparation for moving the C# build to bazel.
As we discovered in https://github.com/github/codeql/pull/16376 ,
`paket` tries to restore all projects recursively from the root folder.
If we support building C# code under both `ql/csharp` and `ql/cpp`, we need
to have a single lockfile under `ql`, as both codebases share the same set of dependencies
(and utilities from `ql/csharp/extractor`).
Then, `paket` will also try to restore things that look like "C# projects" in other languages'
folders, which is not what we want.
Therefore, we address this by moving all C# code into a common root directory, `ql/csharp`.
This needs an internal PR to adjust the buildsystem to look for the autobuilder in the new location.
2024-05-14 13:45:49 +02: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
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
Michael Nebel
0df9dcb0fd
C#: Update workflow files to also install .NET 8.
2023-12-11 10:57:43 +01: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
Michael Nebel
743be92624
C#: Adjust workflow to point to the new location for the script.
2023-10-23 15:10:20 +02:00
Tamas Vajk
534ea3ecac
Adjust stub generator test to fix the nuget package version
2023-10-12 08:50:32 +02:00
Michael Nebel
c25113ae46
C#: Execute tests via the bash shell to ensure that we stop on error.
2023-09-29 09:35:43 +02:00
Michael Nebel
e42741e8ed
C#: Also run extractor unit tests on a windows runner.
2023-09-29 09:33:33 +02:00
Tom Hvitved
4262fd5a48
C#: Add stub generator integration test
2023-09-25 17:02:11 +02:00
dependabot[bot]
03771ffad2
Bump actions/checkout from 2 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-05 12:17:54 +02:00
Michael Nebel
3a4e5700e8
C#: Update project targets, workflows and other scripts to use .NET 7.
2023-01-31 13:20:59 +01:00
Tom Hvitved
c2d843f96b
CI: Change --ram value from 52G to 50G in codeql tests
2022-12-05 09:35:56 +01:00
Tom Hvitved
8f3731fd42
C#: Split AutobuildOptions into C#/C++ specific classes
2022-11-23 12:57:16 +01:00
Tom Hvitved
4ad7d2d822
C#: Also include extractor unit tests in csharp-qltest.yml
2022-11-22 19:55:38 +01:00
Tom Hvitved
313767539a
C#: Add workflow for running QL tests
2022-11-22 09:32:44 +01:00