Commit Graph

34 Commits

Author SHA1 Message Date
Danny Mösch dc791e1b69 Temporarily run builds as GitHub actions 2024-06-16 13:34:31 +02: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
JP Simard 0f802f766a [CI] Remove update_swift_syntax.yml (#4906)
We now manually update SwiftSyntax as needed.
2023-04-18 21:35:43 +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
JP Simard e6d4ad653c Pin SwiftSyntax to a tagged version (#4674)
Specifically this tag:
https://github.com/apple/swift-syntax/releases/tag/0.50800.0-SNAPSHOT-2022-12-29-a

This should make SwiftPM happier about the stability of the pinned
version.

Also switch the CI job to run on macOS to avoid adding Linux-only deps
to the `Package.resolved` file (e.g. CryptoSwift).
2023-01-06 13:10:59 -05:00
JP Simard 100b3eec2a Update Docker CI job to use actions/checkout@v3 (#4675) 2023-01-06 18:04:50 +00:00
JP Simard 0c828e35fb Improve automated Swift Syntax update PR messages 2022-11-08 09:52:20 -05:00
JP Simard 374130bb56 Update SwiftSyntax on a weekly scheduled CI job (#4475) 2022-10-24 16:37:29 -04:00
JP Simard ea41b9fd09 Rename default branch from master to main (#4116) 2022-09-01 07:09:46 -04:00
JP Simard 235264bb7e Stop building Docker images for Swift 5.5 (#4068)
Follow-up to https://github.com/realm/SwiftLint/pull/4037
2022-08-07 22:03:45 -04:00
JP Simard 21bb280068 Build additional Docker image with Swift 5.5 (#3904)
* Build additional Docker image with Swift 5.5
* Build `swiftlint_linux_swift_5_5.zip`
2022-03-17 17:27:05 -04:00
JP Simard 068f6037fe [CI] Move back to Azure Pipelines (#3826)
Yesterday I started moving SwiftLint's CI jobs from Azure Pipelines to
GitHub Actions, which has nicer integrations with GitHub's web UI and
feels nicer & more lightweight overall.

However, GitHub Actions has a serious limitation compared to Azure
Pipelines, which is that it only has 5x macOS job concurrency vs Azure's
10x ([see Twitter](https://twitter.com/simjp/status/1326592600393068546)).
This leads to significant queuing when merging PRs or pushing to PRs in
a short span, which is the main way I work on SwiftLint when catching up
on PR/issue backlog every few months.

A quick timing check showed that a PR using Azure Pipelines (#3825) took
26m 47s vs GitHub Actions (#3824) took 32m 31s. These PRs were opened at
a time when no other CI jobs were running, so even though Azure
Pipelines already took 6 minutes less to run than GitHub Actions, that
difference would be even larger if there had been other PRs triggering
CI jobs at the same time.

So I think the best move for the project for the time being is to stay
with Azure Pipelines for its CI. If GitHub ever increases its macOS
concurrency to match Azure Pipelines's 10x we can explore this again.
2022-01-25 13:56:58 -08:00
JP Simard 4525e9999b Move remaining CI jobs to GitHub Actions (#3822)
Analyze, TSan, Xcode & Docs
2022-01-24 20:29:33 -08:00
JP Simard 83560fffa7 Move SwiftLint Analyze CI job to GitHub Actions (#3820) 2022-01-24 16:25:39 -08:00
JP Simard 2bd54cf3ce Move CocoaPods CI jobs to GitHub Actions (#3819) 2022-01-24 15:24:42 -08:00
JP Simard 4c3bb24a04 Move SwiftPM CI jobs to GitHub Actions (#3818) 2022-01-24 14:59:14 -08:00
JP Simard 3d1821d3c0 Revert "Publish a multi-platform Docker image"
This reverts commits 76dae19b1c &
11e86babc7.
2022-01-21 15:38:21 -05:00
JP Simard 76dae19b1c fixup! Publish a multi-platform Docker image 2022-01-21 15:36:14 -05:00
JP Simard 11e86babc7 Publish a multi-platform Docker image 2022-01-21 15:33:00 -05:00
JP Simard f38083998d Update docker.yml 2022-01-21 07:39:47 -08:00
Francisco Javier Trujillo Mata a2ada88fd1 Upload Docker Image in to Github Container (#3791) 2022-01-21 07:38:47 -08:00
JP Simard 08fbd043c0 Remove stale probot config (#3529)
I believe this will completely remove the bot.

Rationale: https://github.com/realm/SwiftLint/pull/3385#issuecomment-784411782

> I've changed my mind on this. I believe this is solving the wrong
> problem. It can be very disappointing for users when their issues /
> PRs remain ignored by maintainers for a long time, but I think it's
> worse when issues / PRs are automatically closed, and I don't think it
> actually helps with the health of the project, or make maintainer's
> lives easier.
>
> I can't guarantee anything, but I am working on a plan to improve the
> maintainership of SwiftLint moving forward, and hopefully that can be
> more impactful when it comes to responsiveness to community issues and
> PRs, and I believe that's a better way to triage issues and PRs.
2021-02-23 10:49:14 -08:00
JP Simard 6c5a850c25 Exempt rule requests from being closed as stale 2020-11-07 22:12:26 -05:00
Seth Friedman 812e9dd950 Add stale probot config (#3385) 2020-11-07 20:18:53 -05:00
Dave Lee 8f2334babd Update bug report template: xcodebuild -version (#2979) 2019-11-27 14:21:31 -08:00
Marcelo Fabri f6ec91cd1e Delete ISSUE_TEMPLATE.md
Removing it in favor of more specific templates.
2018-09-08 20:10:33 -07:00
Marcelo Fabri 985d85a6f9 Update issue templates 2018-09-08 20:09:07 -07:00
JP Simard 661eb51440 Update recommendations for filing rule requests
based on the fact that non-authors can't set labels.
2017-08-21 11:47:17 -07:00
JP Simard dc0555a93c Link to opt-in guidelines from issue template 2017-08-21 11:46:08 -07:00
JP Simard 75a3a52dbc Split up issue template in "rule request" and "bug report" sections 2017-08-21 09:53:14 -07:00
JP Simard e5c788d392 minor changes to issue template 2017-08-21 09:48:35 -07:00
Marcelo Fabri 806039d117 Add an issue template
Closes #1281.
2017-08-10 17:19:42 +02:00