Skip to content

cache pip

cache pip #34

Workflow file for this run

name: verify
on:
push:
branches:
- main
pull_request:
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
cache: 'pip'
- name: Install online-judge-verify-helper
run: pip3 install -U online-judge-verify-helper
- name: Cache judge data
uses: actions/cache@v4
with:
path: |
.verify-helper/cache/
~/.cache/online-judge-tools/library-checker-problems/
key: cache-judge-data
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PAT: ${{ secrets.GH_PAT }}
run: oj-verify all