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

Cache Haskell builds #141

Open
mariari opened this issue Nov 7, 2024 · 1 comment
Open

Cache Haskell builds #141

mariari opened this issue Nov 7, 2024 · 1 comment

Comments

@mariari
Copy link
Member

mariari commented Nov 7, 2024

the CI takes over 15 minutes to run simple topics:

https://github.com/anoma/juvix-stdlib/actions/runs/11716928476/job/32635794732?pr=139

I'm leaving this issue here, for me to eventually investigate, as I should make a PR to address this:

      - name: Restore dependencies cache
        id: deps-cache
        uses: actions/[email protected]
        with:
          path: |
            deps
            _build
          key: |
            mix-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}
          restore-keys: |
            mix-${{ runner.os }}-${{ steps.beam.outputs.otp-version }}-${{ steps.beam.outputs.elixir-version }}-${{ hashFiles('**/mix.lock') }}

Here is the Anoma one

@mariari
Copy link
Member Author

mariari commented Nov 7, 2024

Upon review I'm unsure of what key do I restore it under, as I need to check the specific juvix-version

However Juvix falls under rolling releases, and I don't believe I can fix it upon the latest release tag for caching purposes.

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

No branches or pull requests

1 participant