Skip to content

attempt to speed up GitHub Action for Nix Shell #1086

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

Conversation

peterbecich
Copy link
Member

@peterbecich peterbecich commented Jun 26, 2022

#1078

Unsure if this will work.
It appears cabal update is necessary but makes the cache unusable. Maybe using a specific date will avoid this:

cabal update hackage.haskell.org,2022-08-27T00:00:00Z

@peterbecich peterbecich marked this pull request as draft June 26, 2022 04:36
@peterbecich peterbecich force-pushed the attempt-to-speed-up-nix-shell-github-action branch from bde3ae3 to 6e0e142 Compare June 26, 2022 05:10
@peterbecich peterbecich force-pushed the attempt-to-speed-up-nix-shell-github-action branch 4 times, most recently from 43ae5d0 to d9182dc Compare August 27, 2022 23:06
@peterbecich peterbecich force-pushed the attempt-to-speed-up-nix-shell-github-action branch from d9182dc to 9142bb5 Compare August 27, 2022 23:08
@peterbecich peterbecich marked this pull request as ready for review August 27, 2022 23:30
@peterbecich
Copy link
Member Author

@andreasabel please review. I'm not sure if it will make an improvement until it is merged. I think PRs are not allowed to push to Cachix.

@@ -0,0 +1,4 @@
#!/bin/bash

cabal update hackage.haskell.org,2022-08-27T00:00:00Z
Copy link
Member

Choose a reason for hiding this comment

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

Does this timestamp have to be updated manually frequently? Should there be instructions when to do so?

@andreasabel andreasabel merged commit 02cd189 into haskell:master Sep 26, 2022
@andreasabel
Copy link
Member

@peterbecich Thanks! I merged it for testing, please evaluate results.

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.

2 participants