dependabot[bot]
0e011258a5
Bump actions/checkout from 6.0.1 to 6.0.2 ( #6455 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6.0.1 to 6.0.2.
- [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/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-23 16:46:50 +01:00
Danny Mösch
3860c5c490
Refactor workflows with YAML anchors for common patterns ( #6313 )
2026-01-02 13:37:04 +00:00
dependabot[bot]
10f258820a
Bump docker/setup-buildx-action from 3.11.1 to 3.12.0 ( #6388 )
2025-12-22 16:03:19 +01:00
dependabot[bot]
938ec50259
Bump actions/download-artifact from 6.0.0 to 7.0.0 ( #6379 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53...37930b1c2abaa49bbe596cd826c3c89aef350131 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: 7.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-12-15 17:57:14 +01:00
dependabot[bot]
ef63229c3b
Bump actions/checkout from 6.0.0 to 6.0.1 ( #6370 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6.0.0 to 6.0.1.
- [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/1af3b93b6815bc44a9784bd300feb67ff0d1eeb3...8e8c483db84b4bee98b60c0593521ed34d9990e8 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-08 20:02:13 +01:00
dependabot[bot]
ca49d31e45
Bump actions/checkout from 5.0.0 to 6.0.0 ( #6356 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5.0.0 to 6.0.0.
- [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/08c6903cd8c0fde910a37f88322edcfb5dd907a8...1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.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-11-24 15:52:09 +01:00
Danny Mösch
49272b4e32
Use new slim runners for simple tasks ( #6325 )
2025-10-31 17:11:37 +00:00
dependabot[bot]
c23244ec0d
Bump actions/download-artifact from 5.0.0 to 6.0.0 ( #6322 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/634f93cb2916e3fdff6788551b99b062d0335ce0...018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: 6.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-28 18:17:54 +01: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
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
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
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 and Danny Mösch
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
2cdb8685a7
Restrict workflow permissions ( #5996 )
2025-02-11 09:22:15 +01:00
Danny Mösch
c3e6bbbfe7
Fix issues reported by ShellCheck
2025-01-19 17:39:16 +01:00
Danny Mösch
18d658bbf3
Specify explicit OS version
2025-01-17 00:02:16 +01:00
Danny Mösch
d8b7215844
Remove quotes
2025-01-16 23:08:12 +01:00
Danny Mösch
a08c92c870
Separate Docker build into artifact and release version
...
This builds the Docker image twice per release - first to extract the
Linux binary from it as a dedicated release artifact, second as the
official Docker image associated with the later published release.
This avoids that a Docker image for a version exist that is not otherwise
available as an official release on GitHub.
2025-01-16 23:04:57 +01:00
Danny Mösch
9a7e645a02
Build Docker image from local context
2025-01-16 23:00:19 +01:00
Danny Mösch
bfefc384db
Pull branch before Docker build
2025-01-16 21:55:44 +01:00
Danny Mösch
ca80b0e4ad
Add human-friendly names to build jobs
2025-01-11 21:29:46 +01:00
Danny Mösch
470d27d443
Use existing functions
2025-01-11 21:10:13 +01:00
Danny Mösch
aa2a0973d4
Split post-release actions from release workflow
2025-01-11 20:43:25 +01:00
Danny Mösch
bae1a6ac39
Rename Linux binary before upload
2025-01-11 16:09:39 +01:00
Danny Mösch
329f9b0204
Throw an error if no files were found
2025-01-11 14:22:27 +01:00
Danny Mösch
cc08a8794b
Take binary from install location
2025-01-11 14:04:13 +01:00
Danny Mösch
62ad0c00f6
Use text block
2025-01-11 13:46:22 +01:00
Danny Mösch
4f056eb32b
Specify multiple outputs
2025-01-11 13:44:39 +01:00
Danny Mösch
f54840f8ba
Build Linux and macOS binaries in parallel and upload them
2025-01-11 13:11:00 +01:00
Danny Mösch
1d3ebc8034
Define release process in a workflow
2025-01-10 21:40:43 +01:00
Danny Mösch
5777bab476
Avoid condition that's always true
2025-01-08 19:36:50 +01:00
Danny Mösch
5ab8f09161
Check for explicitly set Docker tag
2024-12-21 19:41:31 +01:00
Danny Mösch
ece675cae9
Do not use defined event names
...
When this workflow is called from another, the event type will be the
one of the caller. Therefore, checking agains `workflow_call` doesn't
work.
2024-11-24 16:58:57 +01:00
Danny Mösch
b59e2daad0
Build Docker image with Swift 6 on Ubuntu 24.04
2024-09-29 21:34:49 +02:00
Danny Mösch
274d12b1a0
Read tag from workflow input
2024-09-08 18:21:28 +02:00
Danny Mösch
614e694928
Allow to trigger Docker build manually
2024-09-08 18:19:39 +02:00
Danny Mösch
d601c22a17
Auto-upload Linux build
2024-09-07 18:02:57 +02:00
Danny Mösch
e8451638a0
Remove empty lines
2024-09-07 16:59:58 +02:00
dependabot[bot]
3afad91a1b
Bump the github-actions group with 4 updates ( #5644 )
...
Bumps the github-actions group with 4 updates: [actions/checkout](https://github.com/actions/checkout ), [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ), [docker/login-action](https://github.com/docker/login-action ) and [docker/build-push-action](https://github.com/docker/build-push-action ).
Updates `actions/checkout` from 3 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/v3...v4 )
Updates `docker/setup-buildx-action` from 1 to 3
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v3 )
Updates `docker/login-action` from 1 to 3
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v3 )
Updates `docker/build-push-action` from 2 to 6
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-26 16:20:28 +00:00
JP Simard
3511512dce
Revert "Publish a multi-platform Docker image" ( #5363 )
...
This reverts commit 73c49d5a48 .
2023-11-19 15:06:43 -05:00
JP Simard
73c49d5a48
Publish a multi-platform Docker image
...
Addresses https://github.com/realm/SwiftLint/issues/4531
2023-11-16 19:02:48 -05:00
JP Simard
f9e7ffa6d9
Fix Docker ( #5238 )
...
Swift 5.9 needs more dynamic libraries to be available, which grows the
size of the final Docker image from 423MB to 449MB.
2023-09-26 17:35:04 +00:00
Gabriel Féron
409f117da9
Use Ubuntu 20.04 to release Linux binaries ( #4882 )
...
* Use Ubuntu 20.04 to release Linux binaries
Using the latest version of Ubuntu leads to incompatibilities with `glibc` versions from LTS versions.
* Use Ubuntu 20.04 for Azure pipelines
2023-04-13 13:25:43 -04:00