873 Commits

Author SHA1 Message Date
Henry Mercer b78ab6c660 s/latest/linked/ 2024-09-23 16:07:27 +01:00
Henry Mercer a7b66734cc Run some tests against only latest and nightly-latest CLIs
These features have stabilized so it isn't that helpful to test them against the full range of CLIs.  So let's speed up the PR checks and save some Actions minutes.
2024-09-23 16:02:38 +01:00
Remco Vermeulen 7513a95cdc Use workflow token for update-release-branch.py
This explicitly passes the workflow token and restores this to the original invocation.

The split is now App token for `git` and workflow token for everything else.
2024-09-19 08:28:19 -07:00
Chris Smowton 3b3a4a69cf Backport workflow: try using the app token
GITHUB_TOKEN is no longer defined; we should use either the workflow token or the app one. Here we try using the app one.
2024-09-19 12:07:05 +01:00
Remco Vermeulen 762210d5a0 Use generated token on checkout
The script `.github/update-release-branch.py` uses the `git` command
to push changes. Therefore we need to ensure that `git` authenticates
with a token that has the `workflows` write permision.

This change restore the GitHub token used by the script to access the
API and applies the `workflows` write permission to the token used by `git`.
2024-09-13 09:13:54 -07:00
Andrew Eisenberg 0d0f998f28 Always upload eslint.sarif 2024-09-10 16:09:28 -07:00
Andrew Eisenberg e817992b3d Merge pull request #2469 from github/aeisenberg/upload-eslint-sarif
Upload sarif for eslint results
2024-09-10 15:51:24 -07:00
Andrew Eisenberg 56b8418884 Ignore suppressed alerts 2024-09-10 15:31:09 -07:00
Remco Vermeulen f824adbf9b Merge branch 'main' into rvermeulen/update-release-branch-authz 2024-09-10 11:13:04 -07:00
Andrew Eisenberg 5c9d95388f Merge branch 'main' into aeisenberg/upload-eslint-sarif 2024-09-09 14:27:48 -07:00
Andrew Eisenberg c00e2392d2 Update setup-swift version
Allows running swift v5.10.1.
2024-09-09 14:06:08 -07:00
Andrew Eisenberg 55c72b9aa6 Upload sarif for eslint results 2024-09-09 13:21:27 -07:00
Michael B. Gale d8b1697e9a Merge pull request #2455 from github/mbg/go/1.23
Go: Bump Go version to 1.23 in tests
2024-09-06 10:47:28 +01:00
Henry Mercer 90cf3d26a7 Add PR check for job run UUID 2024-09-05 15:02:02 +02:00
Henry Mercer 6240306694 Download zstd nightly bundles in PR checks 2024-08-29 17:45:09 +01:00
Michael B. Gale f3f8576a9d Go: Bump Go version to 1.23 2024-08-29 13:56:47 +01:00
Remco Vermeulen 0f99b63108 Use GitHub App for authz 2024-08-28 13:03:54 -07:00
Henry Mercer 44ecae4896 Fix matrixing of "submit SARIF after failure" check 2024-08-08 18:09:12 +01:00
Henry Mercer ecf465891a Required checks script: Ignore skipped jobs 2024-08-06 17:40:25 +01:00
Henry Mercer 8dd1773467 Merge pull request #2408 from github/henrymercer/deprecate-codeql-2.13.4
Remove support for CodeQL 2.13.4 and earlier
2024-08-06 13:52:10 +01:00
Henry Mercer f03da13454 Exclude push-only unit tests job from required PR checks script 2024-08-05 20:38:18 +01:00
Henry Mercer 136f5a589b Add CodeQL v2.17.6 to default test versions 2024-08-05 19:28:35 +01:00
Henry Mercer a1404425d9 Remove 2.12.6 from tests 2024-08-05 19:28:35 +01:00
Angela P Wen 9c646c24a4 Add warning and update PR checks for Swift on Linux (#2399)
* PR checks: Only run Swift build command on MacOS
* PR checks: update to only test Swift on MacOS
* Log warning if workflow is running Swift on Ubuntu
---------

Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
2024-08-02 16:27:45 +02:00
Henry Mercer 42c6f6c925 Remove redundant PR check
This is no longer necessary now that this feature is enabled by default.
2024-07-31 10:56:00 +01:00
Henry Mercer 38a02917b0 Check compiled code on each push
A common mistake is forgetting to compile the code.
Ideally, this wouldn't be necessary, but in the meantime, this change gives a visible indication on the commit when the code hasn't been recompiled.
2024-07-30 18:48:16 +01:00
Angela P Wen 462c756cab Switch debug-artifacts job back to ubuntu
Now that CLI v2.17.4+ are available, we can switch this job back to `ubuntu`. As a result, we can also bring back testing on the older CLI versions (which did not work on MacOS).
CLI v.2.16.6 has a known failure on Linux so we exclude it from this workflow.

This change is orthogonal to the PR check generator change as the check doesn't use the generator.
2024-06-24 14:44:39 +02:00
Angela P Wen 495201e69c PR check generator: add excludeOsAndVersionCombination 2024-06-24 13:33:24 +02:00
Henry Mercer 691e81dcdf Merge branch 'main' into henrymercer/swift-autobuild-check-with-build-mode 2024-06-18 10:26:31 +01:00
Henry Mercer 0d598e718d Merge pull request #2346 from github/aeisenberg/fix-workflow
Fix workflow
2024-06-18 10:26:18 +01:00
Henry Mercer 208abc5a9a Merge branch 'main' into henrymercer/swift-autobuild-check-with-build-mode 2024-06-18 10:10:31 +01:00
Henry Mercer 5b39968121 Merge pull request #2343 from github/henrymercer/remove-macos-11
Remove macOS 11 check and add macOS 14
2024-06-18 10:10:15 +01:00
Andrew Eisenberg b7574c1c6a Fix workflow 2024-06-17 14:02:59 -07:00
Andrew Eisenberg 35619fbef6 Merge pull request #1939 from github/aeisenberg/enable-kotlin-tests
Re-enable kotlin tests
2024-06-17 13:48:06 -07:00
Henry Mercer ec1c05a15f Specify a single category
We run the same queries across all the OSes so we only need a single category
2024-06-17 16:02:05 +01:00
Henry Mercer de327e8f55 Remove macOS 11 check and add macOS 14
The macOS 11 runner image is deprecated on Dotcom.
2024-06-17 15:45:17 +01:00
Henry Mercer 6f86b5da5d Bump timeout 2024-06-17 13:02:17 +01:00
Henry Mercer eb17dc2c6f Add build mode to Swift autobuild check 2024-06-17 12:50:33 +01:00
Henry Mercer e7ce02a547 Regenerate PR checks 2024-06-17 11:36:34 +01:00
Henry Mercer c884bf6268 Merge branch 'main' into henrymercer/reenable-swift-autobuild-checks 2024-06-17 11:30:15 +01:00
Andrew Eisenberg 31a716b48f Check setup-kotlin 2024-06-14 15:27:00 -07:00
Andrew Eisenberg 79f6e84e69 Ensure string argument instead of boolean 2024-06-14 14:59:22 -07:00
Andrew Eisenberg a449977807 Update setup-kotlin 2024-06-14 14:14:29 -07:00
Andrew Eisenberg 3f41e06a52 Merge remote-tracking branch 'upstream/main' into aeisenberg/enable-kotlin-tests 2024-06-14 13:20:03 -07:00
Henry Mercer 789b5f86ef Merge pull request #2328 from github/henrymercer/direct-tracing-fix
Fix incompatibility between direct tracing in the `autobuild` Action and specifying a custom working directory
2024-06-13 10:26:41 +01:00
Henry Mercer 37809d1f16 Merge pull request #2332 from github/henrymercer/cleanup-db-location
Attempt to clean up the database cluster directory
2024-06-12 16:38:31 +01:00
Henry Mercer c8fb403f2f Add PR check for cleaning up database cluster dir 2024-06-12 13:19:30 +01:00
Ian Lynagh b0944a22b8 Fix bash syntax
This should stop

    .github/workflows/script/update-node-modules.sh: line 1: [: missing `]'
2024-06-12 12:55:46 +01:00
Henry Mercer 94acfdc22c Upload SARIF with ref/sha inputs: Generate SARIF with analyze Action 2024-06-11 20:22:17 +01:00
Henry Mercer ba4e487a2c Update checkout_path test
Just call `analyze`, since `upload: never` skips most of the functionality we want to test anyway.
2024-06-11 19:30:30 +01:00