-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File Header rule fails on CI #1724
Comments
cc @hampustagerud - any idea what the problem is here? |
@jesus-mg-ios FYI I think |
Sorry for the mistake, same result using |
Same issue - however what I'm experiencing but never noticed before is that when I run |
@bcybs prior to the git integration added in the last release, the created date was derived from the file metadata. For files stored in git, that probably ends up being the checkout date rather than the original creation date. |
If the repo is checked out with only one commit (
If I were to implement a CI with this I'd try with replacing |
Hi I'm comming up with an error on xcode cloud trying to use the new {created.date}.
The rules I'm using are:
The first step was adding in the script:
git fetch --unshallow
After that, the complaining count went down.
Using same version on local and CI, but when you run lint, for only some files swiftformat complains. (after doing git fetch --unshallow less files were affected) :
Any idea on how to deal with this would be much appreciated.
The text was updated successfully, but these errors were encountered: