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 runs other than jsontoolkit #40

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ jobs:
BUNDLE_GEMFILE: ${{ github.workspace }}/implementations/json_schemer/Gemfile
steps:
- uses: actions/checkout@v4

- name: Cache runs
uses: actions/cache@v4
with:
path: dist/results/
key: ${{ runner.os }}-runs
- name: Update modified time of output for make
continue-on-error: true
run: |
find dist/results -print0 | xargs -0 touch -c
for f in dist/results/*; do touch "implementations/$(basename $f)/.dockertimestamp"; done

- uses: actions/setup-python@v5
with:
python-version: '3.12.5'
Expand Down Expand Up @@ -59,3 +71,6 @@ jobs:
path: |
dist/report.csv
dist/results/plots

- name: Clean up jsontoolkit runs to avoid caching
run: rm -r dist/results/{jsontoolkit,plots}
Loading