Skip to content

Fix an issue with the tests where they update a file every time they are run. #31

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

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

chrisgavin
Copy link
Collaborator

Running the tests currently modifies the Action cache, which is pretty annoying. To avoid this we can remove the Git remote created by the push command once we've used it to push the required refs.

Unfortunately go-git does not seem to support pushing to a remote without explicitly adding it to the config.

@chrisgavin chrisgavin merged commit e732b0c into main Aug 25, 2020
@chrisgavin chrisgavin deleted the tests-fix branch August 25, 2020 12:50
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.

1 participant