Skip to content
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

Use GitHub actions for CI #37

Merged

Conversation

thomaslevesque
Copy link
Member

@thomaslevesque thomaslevesque commented Dec 3, 2022

This is basically the same as FakeItEasy/FakeItEasy#1892, with the same commit structure.

I also included the same fixes as in FakeItEasy/FakeItEasy#1895, and I updated FakeItEasy.Analyzers.Build to .NET 6 (so that we don't need .NET 5, and for consistency with FakeItEasy)

As mentioned in the chat, I also had to install .NET Core 2.1 on Windows. No idea why it wasn't necessary in FakeItEasy.

I updated how_to_build.md with the same changes as in FakeItEasy, but I noticed it's outdated. We'll need to update the build instructions, but I didn't want to do it in this PR.

Also, the AppVeyor build is failing, because we use an old VM image (VS 2019) which doesn't have .NET 6. But it's OK, since we're going to remove AppVeyor anyway...

@thomaslevesque thomaslevesque force-pushed the use-github-actions-for-ci branch 2 times, most recently from 95a2c9b to e5eaee3 Compare December 3, 2022 04:44
@thomaslevesque thomaslevesque marked this pull request as ready for review December 3, 2022 05:03
Copy link
Member

@blairconrad blairconrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. A couple of One minor comments, if you're inclined to change.

Also, you talked about adding caching for the restore phase. That's not supposed to be here, right?

@@ -8,7 +8,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.gitattributes = .gitattributes
.gitignore = .gitignore
.mailmap = .mailmap
appveyor.yml = appveyor.yml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did not add the ci.yml?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because I forgot! Also didn't do it in FakeItEasy...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm forever forgetting to add files to the sln. More trouble than it's worth, I sometimes think.

@thomaslevesque
Copy link
Member Author

Also, you talked about adding caching for the restore phase. That's not supposed to be here, right?

No, I didn't look into it yet

blairconrad
blairconrad previously approved these changes Dec 4, 2022
Copy link
Member

@blairconrad blairconrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @thomaslevesque!

Copy link
Member

@blairconrad blairconrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smashing!

@blairconrad blairconrad merged commit c8161a3 into FakeItEasy:master Dec 4, 2022
@thomaslevesque thomaslevesque deleted the use-github-actions-for-ci branch December 4, 2022 19:50
@thomaslevesque thomaslevesque linked an issue Dec 4, 2022 that may be closed by this pull request
@blairconrad blairconrad added this to the vNext milestone Jan 20, 2023
@github-actions
Copy link

This change has been released as part of FakeItEasy.Analyzers 6.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate CI to GitHub Actions
2 participants