NASA-PDS / roundup-action

Do a "roundup", a/k/a PDS-style continuous integration and delivery
Apache License 2.0
1 stars 4 forks source link

As a user, I want the action to utilize the cached maven/python dependencies #47

Closed jordanpadams closed 2 years ago

jordanpadams commented 3 years ago

Motivation

...so that I can execute the action much more quickly

Additional Details

Per

Maven:

- name: Cache local Maven repository
  uses: actions/cache@v2
  with:
    path: ~/.m2/repository
    key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
    restore-keys: |
      ${{ runner.os }}-maven-

Python:

- uses: actions/cache@v2
  with:
    path: ~/.cache/pip
    key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
    restore-keys: |
      ${{ runner.os }}-pip-

Acceptance Criteria

Given previously executed roundup execution When I perform an unstable/stable CI/CD build Then I expect roundup will utilize the cache to help speed up the execution

Engineering Details

nutjob4life commented 2 years ago

The two PRs (in pds-template-repo-java and pds-template-repo-python) have finally been reviewed and merged! Thanks @MJJoyce for tackling that last one 🎉👯‍♀️

I think that just about does it for this issue!

jordanpadams commented 2 years ago

done per NASA-PDS/pds-template-repo-python#31 and NASA-PDS/pds-template-repo-java#10