Commit Graph

171 Commits

Author SHA1 Message Date
Danny Mösch 25ef2ea69b Remove trailing comma (#6297) 2025-10-13 22:56:24 +02:00
Danny Mösch 5c09dd802f Remove outdated parameter 2025-10-13 22:16:19 +02:00
Danny Mösch c75ae5c578 Run release build jobs with Xcode 26 2025-10-12 20:37:59 +02:00
Danny Mösch d75cc4f880 Run release build jobs on macOS 26 2025-10-12 20:33:58 +02:00
Danny Mösch 9208d4870e Update default Swift version to 6.2 on runners 2025-10-12 20:04:42 +02:00
Satoshi Namai f67943d4f8 Use 512KiB of thread stack size for static Linux binaries (#6291) 2025-10-12 07:26:20 +00:00
dependabot[bot] a158a4275a Bump ruby/setup-ruby from 1.263.0 to 1.265.0 (#6293)
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.263.0 to 1.265.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](https://github.com/ruby/setup-ruby/compare/0481980f17b760ef6bca5e8c55809102a0af1e5a...ab177d40ee5483edb974554986f56b33477e21d0)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-version: 1.265.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 19:48:17 +00:00
Danny Mösch b77d82b08c Stop Dependabot from adding labels 2025-10-11 21:34:09 +02:00
dependabot[bot] c330e58de8 Bump peter-evans/repository-dispatch from 3.0.0 to 4.0.0 (#6281)
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](https://github.com/peter-evans/repository-dispatch/compare/ff45666b9427631e3450c54a1bcbee4d9ff4d7c0...5fc4efd1a4797ddb68ffd0714a238564e4cc0e6f)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 16:51:23 +02:00
Danny Mösch fa6e2a109b Report missing Swift docs as inline violations in PRs (#6272) 2025-10-03 12:11:31 +00:00
dependabot[bot] 92cd723185 Bump ruby/setup-ruby from 1.257.0 to 1.263.0 (#6267) 2025-09-30 05:50:22 +00:00
dependabot[bot] 9d381ea4ef Bump actions/upload-pages-artifact from 3 to 4 (#6265) 2025-09-30 07:38:19 +02:00
dependabot[bot] 15a5983aa5 Bump actions/download-artifact from 4.3.0 to 5.0.0 (#6266) 2025-09-30 07:37:17 +02:00
dependabot[bot] 82b0f5c74f Bump actions/checkout from 4.3.0 to 5.0.0 (#6264) 2025-09-30 07:36:00 +02:00
dependabot[bot] 588e26bdbc Bump docker/login-action from 3.5.0 to 3.6.0 (#6263) 2025-09-30 07:34:00 +02:00
Danny Mösch 80857b9f4c Look for actions starting from root
GitHub states:

> For GitHub Actions, use the value `/`. Dependabot will search the `/.github/workflows` directory, as well as the `action.yml`/`action.yaml` file from the root directory.
2025-09-29 23:27:54 +02:00
Danny Mösch 3522309fcf Pin actions/cache to specific SHA (#6262) 2025-09-29 12:43:57 +00:00
Danny Mösch aa67f5ac13 Adopt typed throws where possible (#5922) 2025-09-27 19:11:46 +02:00
Danny Mösch 427565fe1b Re-add workaround for download issue with Swift 5.10 (#6256) 2025-09-24 22:02:50 +00:00
Danny Mösch be38273534 Fix custom Makefile rule execution (#6254) 2025-09-24 23:25:24 +02:00
Danny Mösch aa9dbac294 Run tests with Swift 6.2 as well (#6251) 2025-09-23 22:19:15 +02:00
Danny Mösch 3574e393d7 Run tests on macOS 26 with Xcode 26 as well (#6247) 2025-09-12 20:23:09 +02:00
Danny Mösch 764a9bbeb1 Build static binaries from release branch 2025-09-03 23:49:48 +02:00
Danny Mösch bd829b5eb4 Simplify folder structure for release artifacts 2025-09-02 23:30:53 +02:00
Danny Mösch 0f91017259 Add static Linux binaries to release archives (#6218) 2025-09-02 22:20:00 +02:00
Danny Mösch 367fd13ae7 Combine build jobs using matrix strategy 2025-08-31 17:32:29 +02:00
Danny Mösch a1342620c2 Clarify which tests to run 2025-08-31 16:00:10 +02:00
Danny Mösch da74086498 Revert "Pass only relevant secret"
This reverts commit 6c8468a491.
2025-08-30 15:21:38 +02:00
Danny Mösch 6c8468a491 Pass only relevant secret 2025-08-30 15:18:00 +02:00
Danny Mösch d11a65bfa5 Pin actions to specific SHAs 2025-08-30 15:18:00 +02:00
Danny Mösch 98c30205af Avoid storing Git credentials on disk if not required by follow-up steps 2025-08-30 15:18:00 +02:00
Danny Mösch 96df29d72c Remedy risk of template code injection 2025-08-30 15:18:00 +02:00
Danny Mösch 025a7bfd64 Prefer short and readable repository names (#6205) 2025-08-24 18:03:30 +02:00
Danny Mösch 2a6092c213 Fix artifact paths 2025-08-20 18:46:55 +02:00
Danny Mösch 8b57d4c7c7 Install dependencies required by statically linked Linux binaries 2025-08-20 18:10:41 +02:00
Danny Mösch 32bbc5b6d6 Inline Docker build script (#6196)
With #6193, both Docker variants are built on different machines, so
that not both binaries need to be handled at once.

Since the binaries are not used as release artifacts anymore, dynamic
linking should be fine as well.
2025-08-20 18:06:52 +02:00
Danny Mösch 39646724dd Build Linux releases with SPM and static linking
Bazel does not support that yet, so the whole Swift standard library
would be required to run the binary.
2025-08-19 23:23:09 +02:00
Danny Mösch ede20069e7 Split Docker workflow to build for different platforms in parallel (#6193)
* Split Docker build to avoid slow cross-compilation
* Push digests of intermediate builds only
* Inline permissions to have them more fine-grained
* Build on runners matching the platform to compile for
* Run on every push to main
* Extract build steps into reusable action
2025-08-17 22:30:55 +02:00
Danny Mösch e75981494f Build Linux binaries for releases without Docker (#6192)
Given that Swift is installed on Linux runners and there are ARM runners
available, too, we can just build the binaries directly with Bazel and
not rely on Docker.

The Docker images will be created post-release now as additional release
artifacts and not as prerequisites for other artifacts.
2025-08-16 19:36:43 +02:00
Bradley Mackey ad30ecef67 Build and provide ARM64 Linux binaries (#6015)
Co-authored-by: Danny Mösch <danny.moesch@icloud.com>
2025-08-16 17:31:23 +02:00
Danny Mösch 01696749b6 Let Dependabot update Bundler dependencies 2025-08-13 20:07:28 +02:00
Danny Mösch e41f1642c5 Let Dependabot update Swift dependencies
This is to learn about newer version being available. The PRs will always require manual updates on the Bazel side to have all versions in sync.
2025-08-13 20:02:09 +02:00
Danny Mösch fcbd854cde Add instructions for testing 2025-08-09 09:21:20 +02:00
Danny Mösch 64fe977b81 Use installed Swift instead of Docker container 2025-08-09 09:07:05 +02:00
Danny Mösch 8a1e56ea24 Define consistent and unique cache keys (#6182)
Take OS name, build tool, Swift version and dependencies into account.
2025-08-08 20:00:59 +00:00
Danny Mösch 1d46d6cca2 Let Copilot build and test with SPM (#6181)
Bazel doesn't work well on Linux, especially in non-release mode and when building tests. This partially reverts a809480d4a.
2025-08-08 19:04:53 +02:00
Danny Mösch a809480d4a Let Copilot prefer Bazel (#6173)
* Add instructions for rule registration
* Add setup steps for coding agent using Bazel
* Make callable workflow so that its environment also applies to subsequent steps
2025-08-04 18:16:59 +02:00
Danny Mösch 7395ead738 Add basic Copilot instructions 2025-08-01 17:39:49 +02:00
Danny Mösch 5738a6138e Revert "Add setup steps for coding agent"
This reverts commit deb3678e6f.
2025-08-01 16:31:39 +02:00
Danny Mösch deb3678e6f Add setup steps for coding agent 2025-08-01 16:22:16 +02:00