afids / afids-validator

Validator for the anatomical fiducial placement protocol
https://validator.afids.io
GNU General Public License v3.0
2 stars 4 forks source link

Use hash of setup.py as cache key #148

Closed tkkuehn closed 3 years ago

tkkuehn commented 3 years ago

Proposed changes

The deploy action uses a cached environment, and the key to that cache is currently based on the hash of requirements.txt. Because of the change to requirements.txt in #145, that file no longer works as a key for the cache, so this PR sets it up to use setup.py instead.

Types of changes

What types of changes does your code introduce? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!

Notes

All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.

_PR template was adopted from appium_

kaitj commented 3 years ago

LGTM! Rerunning ensured cache was properly too - merging!